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
andSecret Key
, as we will use them in the next step. - Create your JWT token. Use Frontegg vendor authentication API:
Parameter | Type | Explanation |
---|---|---|
instance-id | string | This parameter will be given by illustria team. |
your-client-id | string | |
your-secret-key | string |
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.