Back

Auth: Verify email for non-logged-in users?

  • 1
  • Web
  • Auth
  • Cloud
  • Self Hosted
  • Functions
Carre
22 Jul, 2024, 12:50

Hello. I want my site to automatically send a verification email to newly registered users, so they need to verify their email to log in. However, I'm having a problem because the verification email requires an "account," and the user is not logged into any account yet, so it's missing. All my code works for authentication with logged-in users, but how can I make it work with non-logged-in users as well?

TL;DR
Developers want to send verification emails to new users for account creation. They are facing issues as the process requires an active account while the user is not logged in. The solution is to modify the code to handle email verification for non-logged-in users as well.
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