Skip to main content

Create authorization token


Generate an API Token via Frontegg Dashboard UI:

  • Navigate to http://<instance-id>.illustria.io
  • Login
  • Click on your avatar and click on "Profile".
  • Click on "API Tokens" tab. If you want to be notified via email later on when the report is ready, please choose "Personal Tokens".
  • Generate your token, by adding a description and an "Admin" role.
  • Copy the Client ID and Secret Key, as we will use them in the next step.
  • Create your JWT token. Use Frontegg vendor authentication API:
ParameterTypeExplanation
instance-idstringThis parameter will be given by illustria team.
your-client-idstring
your-secret-keystring
curl --request POST \
--url https://illustria.frontegg.com/identity/resources/auth/v1/api-token \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"clientId": "<your-client-id>",
"secret": "<your-secret-key>"
}
'
info

Make sure to save the accessToken value from the response as this will be <your-authorization-token> in the following steps.