An API for creating a token, which is used to authorise all other API requests made to Fego.
Once you have a valid token available against product configuration(s), you can store it and use it to authorise an API call made to Fego, by setting the authorisation request header as Bearer < token value >
The general procedure to be followed when the current authorisation token expires is as follows:-
Store clientId and secret.
Generate a new token with stored clientId and secret when the token has expired. If the API you call returns 401 unauthorised, it could be an indication that the token has expired.
Store the newly generated token and use it for subsequent API calls.