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
- getaddrinfo EAI_AGAIN when using axios
I have this code to make a get request to an API ```javascript function fetchUserListPerPage(page) { return new Promise(async (resolve, reject) => { ...
- Database Collection Permissions
Hi, i would like to create a document in a collection, and i would like to set up a permission so just the user who created the document can read it. This has t...
- custom push notification channel
Hi, Is there is a way to set a custom push notification channel in appwrite?