1
0
Fork 0
mirror of synced 2024-07-06 23:21:05 +12:00
appwrite/docs/references/account/create-token-phone.md

3 lines
568 B
Markdown
Raw Normal View History

2024-01-23 03:30:11 +13:00
Sends the user an SMS 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 [POST /v1/account/sessions/token](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.
2023-10-14 02:43:44 +13:00
A user is limited to 10 active sessions at a time by default. [Learn more about session limits](https://appwrite.io/docs/authentication-security#limits).