Hi, I want to implement authentication using only phone number. Here is me sending token to phone: export const sendPhone = async(phone)=>{
const token = await account.createPhoneToken( ID.unique(), phone ); console.log(token); const userId = token.userId; return userId; }
the result of console log: "{"$createdAt": "2024-08-01T14:04:42.769+00:00", "$id": "Id", "expire": "2024-08-01T14:19:42.768+00:00", "phrase": "", "secret": "", "userId": "userId"}"
and I don't get any sms on my phone.
How do I fix this, or what am I doing wrong.
Thank you
Recommended threads
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...