1
0
Fork 0
mirror of synced 2024-09-09 14:21:24 +12:00
appwrite/docs/references/users/create-token.md

1 line
425 B
Markdown
Raw Normal View History

2023-11-15 03:12:08 +13:00
Returns a custom token with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [PUT /account/sessions/custom](https://appwrite.io/docs/references/cloud/client-web/account#updateCustomSession) endpoint to complete the login process. By default, the secret sent in the response is valid for 15 minutes.