
I signed in my user using apple Oauth now i wish to do phone verification so I am implementing this block of code
Future<void> updateAndVerifyPhoneNumber(String phone) async {
await appwrite.account
.updatePhone(phone: phone, password: appwrite.user.password!);
await appwrite.account.createPhoneVerification();
}
But I do not seem to get anything for the password of the user, I am aware one way is to take it in from the user, but since user signed in from Apple a password was not created.
what shall I do in this case

Okay shall I ask for the creation of a password first ?

that would make sense
Recommended threads
- Show execution status 500 unable to set ...
I want to set the labels at the time user signup to my application , all things work , users data save in auth, updateprefs set , a verification email sent , bu...
- Multi-tenant setup with different passwo...
I’m building a multi-tenant SaaS app using a single project. Each tenant’s data is stored in a separate Database (one DB per tenant). I’m using Auth for us...
- Appwrite 1.7.4 Docker query error
I’m running Appwrite 1.7.4 docker image using the sdk-for-apple package. The collection has 16 documents if l run Query.limit(1) I get one record. But if I run ...
