By: shahid khan user 27 Jan 2021 at 6:58 a.m. CST

1 Response
shahid khan gravatar
How we get bearer token or access token using GUI or terminal to use SCIM Api?

By Mohit Mali staff 28 Jan 2021 at 4:56 a.m. CST

Mohit Mali gravatar
HI, Shahid khan you can use "curl" to request access token using terminal . ```curl -u '<authUsername>:<authPassword>' -d grant_type=client_credentials https://<host-name>/oxauth/restv1/token``` also, here is the link [https://gluu.org/docs/gluu-server/4.2/user-management/scim2/#request-an-access-token-to-the-token-endpoint](https://gluu.org/docs/gluu-server/4.2/user-management/scim2/#request-an-access-token-to-the-token-endpoint) in our ofiicial doc how to request access token to use scim api. Thanks and regards Mohit Mali.