By: Sakit Atakishiyev user 14 Jun 2017 at 8:03 a.m. CDT

4 Responses
Sakit Atakishiyev gravatar
Hello, I want to use SCIM-Client for CRUD operations for users. I followed [this](https://gluu.org/docs/ce/admin-guide/user-scim/) and I enabled SCIM test mode and system gave to me a `access_token` after restarting gluu server. Then I added `SCIM-Client-3.0.1` libarary to my dependency. I get my `scim_rs_client_id` and `scim_rp_client_id` from `setup.properties.last`. I also read [User Extensions JSON Test](https://github.com/GluuFederation/SCIM-Client/blob/version_3.0.1/src/test/java/gluu/scim2/client/UserExtensionsJsonTest.java) My first question is the attribute on test code `umaAatClientId` is my `scim_rp_client_id` or `scum_rs_client_id`? For testing I set my `scim_rp_client_id` as `umaAatClientId`. But when I run my code(retrieve user info) I got the below error ```` Exception in thread "main" gluu.scim.client.exception.ScimInitializationException: Could not get accessToken at gluu.scim2.client.auth.UmaScim2ClientImpl.initUmaAuthentication(UmaScim2ClientImpl.java:107) at gluu.scim2.client.auth.UmaScim2ClientImpl.init(UmaScim2ClientImpl.java:86) at gluu.scim2.client.BaseScim2ClientImpl.searchUsers(BaseScim2ClientImpl.java:849) at gluu.scim2.client.auth.UmaScim2ClientImpl.searchUsers(UmaScim2ClientImpl.java:451) at gluu.scim2.client.Scim2Client.searchUsers(Scim2Client.java:274) ```` I checked all my log files but there is no any error on gluu server side

By Mohib Zico Account Admin 27 Jun 2017 at 5:46 p.m. CDT

Mohib Zico gravatar
Seems like we would like to take a look at your code but unfortunately that's not covered in community support.

By Sakit Atakishiyev user 29 Jun 2017 at 12:37 a.m. CDT

Sakit Atakishiyev gravatar
Mohib I used this test code [User Extensions JSON Test](https://github.com/GluuFederation/SCIM-Client/blob/version_3.0.1/src/test/java/gluu/scim2/client/UserExtensionsJsonTest.java)

By Mohib Zico Account Admin 29 Jun 2017 at 4:50 a.m. CDT

Mohib Zico gravatar
Thanks for the link, Sakit. I'll try it out.

By Mohib Zico Account Admin 14 Jul 2017 at 5:44 a.m. CDT

Mohib Zico gravatar
Hi Sakit, We will inform you on ticket about result. I am going to close this ticket for now.