Obtain the JWT access token
To request an access token, send a Post request containing your Client Id and Client Secret to the Conga Sign authentication service.
Production Environment
Access Token: https://login-rls.congacloud.com/api/v1/auth/connect/token
POST /api/v1/auth/connect/token
Host: https://login-rls.congacloud.comContent-Type: application/x-www-form-urlencoded
Sandbox Environment
Access Token: https://login-rlspreview.congacloud.com/api/v1/auth/connect/token
POST /api/v1/auth/connect/token
Host: https://login-rlspreview.congacloud.com
Content-Type: application/x-www-form-urlencoded
Body:
client_id={{client_id}}client_secret={{client_secret}}scope=sign
grant_type=client_credentials
If successful, an access token will be returned in the response body.
Example Response
Sample successful response body
Expand source
{ "access_token": "eyJraWQiOiJmMTJlaE02ZEpmMVhja20wR2hXMUVJMGxPNTQ2dEppXC9NXC9T....", "expires_in": 3600 "token_type": "Bearer", "scope": "sign" }
The access token contains the following fields:
Name |
Description |
---|---|
|
The value of the access token. This value will be added to the |
|
The expiration date of your access token. When your access token expires, your application will have to request a new access token. |
|
The resources you are requesting access to. This should be |
|
The method of authentication that is used. Using Client Id and Client Secret, this grant type should be |
The access token granted by JWT Grant expires at the given time, and no refresh token is provided. After the token expires, you must reauthenticate for a new access token.
Otherwise, the operation may return one of the following errors:
Response code and body |
Description |
---|---|
400 {"error":"ERROR_AUTHENTICATION_HEADER"} |
Invalid headers. Example header: Authorization: Basic <ENCODED_CREDENTIALS> |
400 {"error":"ERROR_AUTHENTICATION_NOT_VALID"} |
The request could not be authorized. Make sure you provided the correct credential. |
403 {"error":"ERROR_AUTHENTICATION_CLIENT_DISABLED"} |
The request has been forbidden because access is disabled. Contact Conga’s customer service for further support. |