By: tuan agile user 06 Dec 2019 at 1:56 p.m. CST

1 Response
tuan agile gravatar
Hi everyone! Thank you for previous ticket! I using Gluu 4.0.Final! Please, help me! Thank you so much! I follow Request an Access Token to the Token Endpoint https://gluu.org/docs/ce/4.0/user-management/scim2/#request-an-access-token-to-the-token-endpoint then, get access_token: Ok! But, i use access_token (Send Requests to SCIM Endpoints: https://gluu.org/docs/ce/4.0/user-management/scim2/#send-requests-to-scim-endpoints) ##### **then Gluu always respone:** ``` 401 code. ``` **1. Images:** - My Gluu client + scopes configurations End Point: picture: https://drive.google.com/open?id=12X9NeersDV2hxGWmBK-8a38If1NhnQ-J link access: https://gluu.agileviet.vn/identity/client/updateClient.htm?inum=e2fa82c5-ff7a-47a0-ab08-e74fc5887dcd - Request an Access Token to the Token Endpoint: https://drive.google.com/open?id=1a8-TFa-kCwwwCuB3Y6hHKxaDZa61mVmN - Send Requests to SCIM Endpoints: https://drive.google.com/open?id=1gLaWWt5L8ds9m7YLIY5wFhAuVX8A3znu **2. Demo page:** My domain: https://gluu.agileviet.vn/ user: `admin` pass: `%tE857FwvWO&` **3. Below is PostMan sessions:** 3.1. Request an Access Token to the Token Endpoint: ``` POST /oxauth/restv1/token HTTP/1.1 Host: gluu.agileviet.vn Content-Type: application/x-www-form-urlencoded,application/x-www-form-urlencoded Authorization: Basic ZTJmYTgyYzUtZmY3YS00N2EwLWFiMDgtZTc0ZmM1ODg3ZGNkOk5TVGh6bjUya2tqOFZiMENhaGh6S3g5MQ== User-Agent: PostmanRuntime/7.20.1 Accept: */* Cache-Control: no-cache Postman-Token: 655f699c-2b44-4070-8609-b5a7572e6f96,913c811e-dd01-4a08-a2cb-598f3643c8fe Host: gluu.agileviet.vn Accept-Encoding: gzip, deflate Content-Length: 29 Connection: keep-alive cache-control: no-cache grant_type=client_credentials ``` 3.2. Send Requests to SCIM Endpoints: ``` GET /identity/restv1/scim/v2/Users/a8c4bc56-33e2-456d-9488-bcbedbda42ed HTTP/1.1 Host: gluu.agileviet.vn Authorization: Bearer c1bb60a6-a32e-47d7-9697-71aec4bb4c49 User-Agent: PostmanRuntime/7.20.1 Accept: */* Cache-Control: no-cache Postman-Token: 8cd09481-606a-4a5b-8a8f-f2905e9fcb10,3870a2a4-0baa-4091-a161-b33f4cc72e8a Host: gluu.agileviet.vn Accept-Encoding: gzip, deflate Cookie: JSESSIONID=node01lmscfkgkihlfi32rweg1ucys4.node0 Connection: keep-alive cache-control: no-cache ```

By tuan agile user 07 Dec 2019 at 8:44 a.m. CST

tuan agile gravatar
Thank you! I will close issue!