
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
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
- Network error when attempting to fetch r...
Hi, I am trying to modify some database data in the console for testing but keep getting this error. I am on the appwrite cloud and have already tried clearing ...
- Having errors migrating to cloud
Project will not migrate compeltely
