try {
await account.createMagicURLToken(ID.unique(), email);
}
catch (error: any) {
console.log(error);
throw new Error(error);
}
This code actually doesn't work. I want a support.
Please check this doc page for more information https://appwrite.io/docs/references/1.5.x/client-web/account#createMagicURLToken
Can't I use that for user registration? Because unregistered user will not be having userId
I think you can't, you first have to register your user, what is your use case?
Like 3rd party auth, that makes users do registration via magic link, Social media, etc. Can't Appwrite do that?
Yes, read the docs: https://appwrite.io/docs/products/auth and use the corresponding method for your version of Appwrite
Recommended threads
- Sites: Auto deploy on wrong github repos...
Hello, I have kinda with UAT(testing env) and prod env. When i pull request from dev -> uat, which stands as pre-prod environment to fully test all functionalit...
- Generate CSR
How do I generate a CSR for my domain host? They are asking me to generate one for my hoosting here on appwrite
- Appwrite Push Notifications: "Unknown er...
Hi all, I'm running into an issue with Appwrite push notifications in my web project. When I try to manually send a notification to a user from the Appwrite we...