By: Eduard Kruger user 20 Jun 2022 at 8:17 a.m. CDT

1 Response
Eduard Kruger gravatar
Good day, I have been following your guide on working with the GLUU SCIM 2.0 API, and I wanted to find out how this will need to be enabled for a production environment? Your documentation (https://gluu.org/docs/gluu-server/4.3/user-management/scim2/) only has a guide on how to use the SCIM endpoints using "TEST" mode for the "JSON Configuration" -> "oxTrust Configuration" -> "Scim properties" -> "Protection Mode" setting. When the setting is set to "OAuth" mode, I keep getting errors that state the token is invalid or scope is incorrect: "Invalid token or insufficient scopes". How will I be able to interact with the SCIM API in a non-test environment? Thank you,

By Eduard Kruger user 20 Jun 2022 at 9:16 a.m. CDT

Eduard Kruger gravatar
Good day, I have managed to sort myself out, the documentation at the bottom of the page on (https://gluu.org/docs/gluu-server/4.3/user-management/scim2/) showed me what to do, I was using the wrong scope when I tried to retrieve my token, as the "write" user scope was accidentally re-named on our instance ("https://gluu.org/scim/users.write"). I have corrected it and now can interact with the API as I should. Thank you.