Spanish Total.js
English
Documentation For AI agents
Contents

App tokens

Create, edit and remove the tokens that your apps use to call OpenAuth.

.md GitHub
On this page

Each app that signs users in through OpenAuth needs a token. The app sends it with every call to POST / and GET /sessions/. Give every app its own token, so you can remove one app's access without touching the others.

Open Tokens in the left menu.

The Tokens screen with two tokens, Demo app and Website

Create a token

1. Press Create (or Create first when the list is empty).

2. Type a Name that tells you which app uses it, for example Website.

3. Access token is filled with a new random token. Keep it, or type your own (5 to 50 characters).

The Create token form with Name and the masked Access token

4. Press SUBMIT.

Then copy the token into your app's configuration. To see it again, open the token with Edit.

The token menu

Click the cog on a token to open its menu.

The menu of a token with Copy URL address, Edit and Remove

  • Copy URL address copies the OpenAuth address with the token as the token argument, for example https://auth.example.com/?token=....
  • Edit opens the Update token form, where you change the name or the token. Clicking the card does the same. When you change the token, update the app too.
  • Remove deletes the token after you confirm. Calls with it fail with 401 at once.

Use the token

Send the token in the x-token header (preferred) or as the token query argument. See Start a sign-in.

After more than five calls with a wrong token, OpenAuth blocks the caller's IP address for a while. See Sign-in questions.

Made in Europe