Access Token
How to get the Access Token after the login process and how to use it
Last updated
How to get the Access Token after the login process and how to use it
Last updated
The next step is to get the token for the issuer. Use the v1/{domainID}/oauth2/authorize
endpoint, like:
curl -X POST "{baseUrl}" -H "accept: application/json" -H "Authorization: {secret}" -H "Content-Type: application/json" -d "{ \"code\": \"{code}\"}"
POST
https://sec-id-api.securitize.io/v1/{clientId}/oauth2/authorize
Used to exchange provided code for accessToken
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
JavaScript Example:
Name | Type | Description |
---|---|---|
Parameter
Description
{domainID}
Your application client id provided by Securitize
authorization
Your application secret provided by Securitize
code
The Code you received in the previous set
clientId
string
Your application Client Id provided by Securitize
authorization
string
Your application secret provided by Securitize
code
string
Code provided from Authentication flow on users browser