1
0
Fork 0
mirror of synced 2024-06-30 20:21:16 +12:00

Explain how creating a phone session can create a new user

This commit is contained in:
Vincent (Wen Yu) Ge 2022-07-04 21:51:48 +00:00
parent bafc8f829a
commit 804c2dc3ae

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.