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
- Error 400: redirect_uri_mismatch
Hi team, Google OAuth was working fine with our Appwrite Cloud setup until yesterday. We did not change any configuration in Appwrite, Google Cloud, or our cod...
- Error 400: redirect_uri_mismatch
Hi team, Google OAuth was working fine with our Appwrite Cloud setup until yesterday. We did not change any configuration in Appwrite, Google Cloud, or our cod...
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...