Skip to content

Commit 1fc18f8

Browse files
authored
Add note about oauth token revocation (#1828)
1 parent 131d4cd commit 1fc18f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/en/api/oauth-tokens.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Mastodon supports two different types of OAuth Tokens: App tokens and User token
1313

1414
The `OAuth` field also references Public, in which case no OAuth access token needs to be supplied to access the API endpoint.
1515

16+
Tokens will not expire automatically. They will become invalid only when deleted by a user or revoked by the app.
17+
1618
### App tokens
1719

1820
In order to receive an App token, you must perform a [client credentials grant flow]({{<relref "client/token#flow" >}}), which gives you a token that can be used to interact with the API on behalf of the OAuth Application. Currently the only API endpoints that accepts this token type are:

0 commit comments

Comments
 (0)