
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
- my database attribute stuck in processin...
when i created attributes in collection 3 of those attributes become "processing", and they are not updating, the worst thing is that i cant even delete them s...
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- Forever Processing Issue
I encountered an issue when creating attributes in the collections . if you create an attribute of type string for example and choose a size of 200 or 250 or a...
