Content
View differences
Updated by Pavel Balashou 8 months ago
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)"}]}
``` "https://qa-corporate.openproject-edge.com/scim\_v2/ServiceProviderConfig" -H "Content-Type: application/scim+json"
\`\`\`
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
```
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)"}]}
```
\`\`\`