1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

Merge pull request #3498 from appwrite/feat-explain-phone-registration

Explain how creating a phone session can create a new user
This commit is contained in:
Torsten Dittmann 2022-07-06 12:56:04 +02:00 committed by GitHub
commit c8e0bb04b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1 +1 @@
Sends the user an SMS with a secret key for creating a session. Use the returned user ID and secret and submit a request to the [PUT /account/sessions/phone](/docs/client/account#accountUpdatePhoneSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.
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 [PUT /account/sessions/phone](/docs/client/account#accountUpdatePhoneSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.