Skip to content
Back

verify users

  • 0
  • Flutter
Joshima
1 Jun, 2023, 05:43

Is there any reference video or smth on how top verify users by sending otp on their mail

TL;DR
The user is looking for a way to verify users by sending OTP (one-time password) to their email. One solution suggested is to use passwordless login, also known as a magic link. With this method, the user enters their email, receives an email with a button to click, and they are automatically logged in. The user has provided two examples for sending the email and handling the callback URL logic, which can be found in the given GitHub links. There is no reference video available at the moment.
joeyouss
1 Jun, 2023, 05:45

Hi, I think I sent some examples here: https://discord.com/channels/564160730845151244/1113022806138048532/1113028326467063839

But, no video is available as of now, let me dig deeper to see if we have some example implemented

Joshima
1 Jun, 2023, 06:15

yes please

joeyouss
1 Jun, 2023, 10:12

You can try passwordless login (magic link). You enter email. You check inbox, and click a button in mail. Then you are logged in.

Example usage: To send email: https://github.com/Meldiron/authui/blob/main/src/lib/magic-url.svelte Callback URL logic: https://github.com/Meldiron/authui/blob/main/src/lib/magic-url-finish.svelte

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more