---
title: App tokens
project: OpenAuth
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openauth/1-0/guides/app-tokens/
updated: 2026-11-19T09:22:00.799Z
---

# App tokens

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

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](/files/JapjPg1yl61f.webp)

## 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](/files/JapjPi1zl60f.webp)

**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](/files/JapjPj20l61f.webp)

- **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](../../reference/start-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](../../faq/sign-in/).
