a
TL;DR
To add a phone number during user signup, developers can create an anonymous session first. Then, use the returned `User` to add a Phone Number via `account.updatePhone()`. Later on, the developer can use `account.createPhoneSession()` for login. It is important to note that `account.create()` only accepts ID, email, password, and name as parameters.expect phone other all data are being saved
account.create() only takes four parameters - ID, email, password and name
If you want to add a phone number to an account, you’ll have to call account.updatePhone() after signing in.
Afaik, you can create an anonymous session then use the returned User to add a Phone Number via account.updatePhone() & then later use account.createPhoneSession() for login.
okay
i will try
Recommended threads
- "Restore project" button fails: "Invalid...
In the dashboard, it clicking "Restore project" fails. The request sent to `PATCH https://cloud.appwrite.io/v1/projects/:project_id` with payload `{status: "act...
- how to access the value of account statu...
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...