Hi, is there any way to custom integrate sending otp to the users
As with anything custom, you can use an Appwrite Function and use any provider you want
but how can get the number otp generated by appwrite?
If you want to implement a custom OTP function, you can use this as something to start with:
- Create a function that takes the
userId
as an input. - In this function, generate a random 6-digit number
- Assign this 6-digit number to the user with user prefs
Pretty straight-forward
and then how to create session?
Recommended threads
- Having issues with login via CLI
``` ~/appwrite î‚° appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...