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
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...
- Error | general_unknown
I have built a website using Appwrite Cloud as backend, and also using sites for deployment. My website is live but sometimes it shows Appwrite's Error general_...
- Introducing new string column types made...
Adding new string types is hugely bennificial! Unfortunately it made the current column types not editable to change their types to the new longer field types.