Hi,
I am trying to connect a SCIM client to Asana’s SCIM endpoints. When trying to fetch the provider configuration, I am getting an 401 Unauthorized error from the API along with this error message:
{"errors":[{"message":"Not Authorized","help":"For more information on API status codes and how to handle them, read the docs on errors: https://developers.asana.com/docs/errors"}]}"
2024-08-19 09:04:24,059 DEBUG [org.apache.http.headers] (executor-thread-20) http-outgoing-9 << HTTP/1.1 401 Unauthorized
I checked the documentation, but I seem to cannot find the correct header name to have the SCIM client authenticate successfully. The SCIM client is the SCIM-for-Keaycloak plugin, if that helps.
The request seems to look like this;
2024-08-19 09:04:23,923 DEBUG [org.apache.http.headers] (executor-thread-20) http-outgoing-9 >> GET /api/1.0/scim/ServiceProviderConfig HTTP/1.1
2024-08-19 09:04:23,923 DEBUG [org.apache.http.headers] (executor-thread-20) http-outgoing-9 >> Content-Type: application/scim+json
2024-08-19 09:04:23,923 DEBUG [org.apache.http.headers] (executor-thread-20) http-outgoing-9 >> Authentication: ********
2024-08-19 09:04:23,923 DEBUG [org.apache.http.headers] (executor-thread-20) http-outgoing-9 >> Host: app.asana.com
2024-08-19 09:04:23,924 DEBUG [org.apache.http.headers] (executor-thread-20) http-outgoing-9 >> Connection: Keep-Alive
2024-08-19 09:04:23,924 DEBUG [org.apache.http.headers] (executor-thread-20) http-outgoing-9 >> User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.12)
2024-08-19 09:04:23,924 DEBUG [org.apache.http.headers] (executor-thread-20) http-outgoing-9 >> Accept-Encoding: gzip,deflate
Thank you