By: Mauricio Lazar user 28 Dec 2021 at 6:43 a.m. CST

1 Response
Mauricio Lazar gravatar
Hi! We are trying for first time Gluu as identity provider. I followed this link (https://gluu.org/docs/gluu-server/4.1/user-management/scim2/) to activate test mode of SCIM so we can start using it. we got the token without issues but the thing is when we try to use Users of SCIM we got "invalid token or insufficient scopes" In the client configuration of OpenID, in scopes we already add the following items: permission openid clientinfo users.write users.read the commands to reproduce the error are: 1 get token curl -u 'cf7c7d98-074c-4555-bc10-425c003691ed:Password' -k -d grant_type=client_credentials https://gluu-testing.domain.com/oxauth/restv1/token 2 connect to scim curl -G -k -H 'Authorization: Bearer 7dbe6765-4c1f-426b-ade4-14aa24c4e48e' -d count=10 --data-urlencode 'filter=userName co "mi"' https://gluu-testing.domain.com/identity/restv1/scim/v2/Usersm/identity/restv1/scim error: Invalid token or insufficient scopes our objective is to start using SCIM but we are getting the error I mentioned. Thanks

By Mobarak Hosen Shakil staff 28 Dec 2021 at 11:24 p.m. CST

Mobarak Hosen Shakil gravatar
Hi Mauricio, Please follow [this](https://gluu.org/docs/gluu-server/4.3/user-management/scim2/) updated documentations since you are using the latest version(4.3) of gluu server. There are few configs that are added in 4.3. Regards ~ Shakil