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: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- My account got banned without obvious re...
Hello, I’m a normal user of Appwrite. Today I found my account was banned suddenly, and I can’t log in normally. I have only been doing normal development and...
- general_route_not_found - Auth Guide
If you’ve just added a subdomain to your project, verified your DNS records, and confirmed your SSL certificate is working, but you're still hitting a `general_...