Skip to main content

Generating Access Tokens

Updated over a month ago

Prerequisites : This feature is reserved for users with an administrator role.

It is possible for you to generate tokens to access the Indaba APIs, bypassing OAuth2 authentication (via DAP).

Please note, however, that this practice is not recommended for production environments, as it provides less optimal security than using DAP.

Create a token

Log in to Io-base and click on the cogwheel (or gear) icon at the top right of the screen.

Then go to the Administration / Access Token menu.

You will be taken to the access token management page :

At the top right of the screen, click on "Create token":

The token creation window will open :

Enter the following information :

  • A name

  • A description

  • The validity period for the access token

  • The permissions associated with the access token:

    • metrics:read : Read permission for metrics

    • metrics:write : Write permission for metrics

    • metadata:read : Ability to make read requests to the IndaMeta API

  • Email addresses to notify when the token expires

Once this information is entered, click Save.

A pop-up will allow you to copy the token.

Important! Make sure to copy it at this time, as you will not be able to retrieve or copy it again.

Your token will now appear in the list.

Renew a token

To renew a token, click on the refresh button in the Actions column.

A confirmation pop-up will appear. Click "Yes" to continue the operation.

A pop-up will appear again, allowing you to copy the new access token.

Important! Make sure to copy it at this time, as you will not be able to retrieve or copy it again.

The token is then renewed :

Delete a token

To delete a token, click on the delete button in the Actions column.

A confirmation pop-up will appear. Click "Yes".

The token is then deleted and will no longer appear in the access token list.

Note : Once deleted, the access token is no longer valid.

Did this answer your question?