# Bug SI-208 - Do not use unspecified ServiceProviderConfig.AuthenticationSchemes.type

Project: Stream Integration Basics
Status: closed
URL: https://community.openproject.org/work_packages/SI-208

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 16.5.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Pavel Balashou |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

Some libraries are very strict regarding **ServiceProviderConfig.AuthenticationSchemes.type.**  
So, no need to use invented type names.  
[https://datatracker.ietf.org/doc/html/rfc7643#section-5](https://datatracker.ietf.org/doc/html/rfc7643#section-5)

How to test it?  
1\. Send request to /ServiceProviderConfig

```bash
curl -X GET "https://qa-corporate.openproject-edge.com/scim_v2/ServiceProviderConfig"    -H "Content-Type: application/scim+json"
```

2\. See the following response with only one **AuthenticationSchemes:**

```json
{
   "meta":{
      "resourceType":"ServiceProviderConfig",
      "created":"2025-09-23T10:41:28.763Z",
      "lastModified":"2025-09-23T10:41:28.763Z",
      "version":"1"
   },
   "schemas":[
      "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig"
   ],
   "authenticationSchemes":[
      {
         "type":"oauthbearertoken",
         "name":"OAuth Bearer Token",
         "description":"Bearer Token can be obtained in 3 different ways(https://www.openproject.org/docs/system-admin-guide/authentication/scim/#step-3-choose-an-authentication-method)"
      }
   ]
}
```
