Aarush AcharyaOriginal post
Rank 3: Container
I signed in my user using apple Oauth now i wish to do phone verification so I am implementing this block of code
Dart
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
Summary
Title: Phone Verification Issue after Apple Sign In
Developers want to implement phone verification after Apple OAuth sign in but face an issue with user passwords, as Apple sign in does not create passwords. One solution can be to prompt users to create a password after Apple sign in.