
Not getting authentication code.

getting sessiontoken but not the code

is appwrite sms server is not working ?

Are you on Cloud or self-hosted

cloud

on cloud

Let me check

Works for me

Phone number is showing in auth section but not getting sms.

I am getting my SMS codes <a:spinthink:588968443374731274>

Can I see your code?

sessionToken = await account.createPhoneSession(
userId: ID.unique(),
phone:"+${Selectedcountry.phoneCode.toString()}${mobileNumberController.text.trim()}",
);
print(sessionToken.userId);
print(Selectedcountry.phoneCode);
setState(() {_isLoginIn= false;});
Navigator.push(context, MaterialPageRoute(builder: (context)=>
OtpVerificationPage(VerificationId:sessionToken.userId)));
}catch(e){
print(e);
}```

getting only sessiontoken

Can I see what the number looks like?
Recommended threads
- How to pass session from browser to a mo...
I have a self-hosted Appwrite container. I also have a www page (A) which should acts as login page for different www services (B). User click login in B, is re...
- Asymetric Authentication for Appwrite si...
Is there any way to do asymmetric authentication of Appwrite users on the server side without making a network call? This can result in a huge reduction in late...
- Two steps signIn with one user:
'm using appwrite to try two phase login, step 1: await account.createAnonymousSession(); or final appwriteUser = await account.create( ...
