Personal Access Token

Use Personal Access Tokens (PAT) to authenticate the 2FAuth Web Extension or to authenticate requests sent to the 2FAuth REST API.

Creating an access token

Open the 2FAuth Settings > OAUTH section and click the Generate a new token link to generate a new token.

A PAT (in green) right after its creation
A PAT (in green) right after its creation

Revoking an access token

You can revoke a personal access token by simply clicking its Revoke button in the Settings > OAUTH section. A request made with a revoked token will receive a 401 Unauthorized response.

How to authenticate API requests
../../../api/#authentication