flutterauthenticationappwrite

Appwrite phonenumber password login


I am new to app development but wanted to start with flutter and appwrite. I want to build an app with Appwrite and Flutter. This app should have a restricted area were only registered users should have access.

I want to use a modified email/password authentication, with a phone number instead of the email.

I know how I can create a user with a phone number and confirm this number using the send secret. But I could not find anythig to get a session with only phone number and password.

Is my desired behavoir even possible with appwrite or am I just missing something?

Thank you in advance for your help!


Solution

  • Unfortunately, phone and password authentication is not supported. You can hack a workaround for this by using the email and password where the email is <phone number>@fakedomain.com.

    What's your reason for not using Appwrite's Phone Auth system?