Skip to content
Init is coming / May 19 - 23
Back

verification email

  • 0
  • Auth
  • Messaging
  • Web
  • Cloud
zach.n
14 May, 2025, 06:02

How do i send a verification email to a new user when they sign up without creating a session. I'm trying to use ssr. And I keep getting different answers wherever I look. I've tried account.createVerification(). I've tried users.createVerification(). I've tried adminAccount.createVerification(newUser.$id, verificationUrl). This is crazy. Why isn't there any solid information on this? I'm constantly getting errors: Account created, but failed to send verification email: app.6771757c001f6ca5aa45@service.appwrite.example.com (role: applications) missing scope (account). The appwrite ai will tell me one thing and then something completely different. Now it told me appwrite will send it automatically by ensuring that the user's emailVerification status is set to false upon creation. And that I can set it up and configure the verification url in Auth in the Appwrite Console. Is that even true? Why is this so complex in Appwrite?

TL;DR
To send a verification email to a new user without creating a session in Appwrite, ensure that the user's `emailVerification` status is set to false upon creation. You can configure the verification URL in the Appwrite Console under Auth settings. This should automatically send the verification email.
Axistro
14 May, 2025, 06:57

You would have to create a session to call verification

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