
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
- Realtime Disconnects and Error: INVALID_...
Hi! I just want to ask here if there's any workaround with the disconnect issues we're encountering when subscribing to realtime events in react native using ex...
- Storage & Database is not allowing.
Storage & Database is not allowing to CRUD after i have logged in ? Using web SDK with next.js without any SSR or node-sdk.
- API Endpoint to Verify Password.
I have 2 use cases where i need to verify a users password outside of login, e.g. Updating user account data (such as name, or prefs, or data in a users databa...
