Skip to content
Back

How to disable registering for OTP Login?

  • 0
  • Auth
  • Cloud
qorinn
20 Jul, 2025, 18:22

Hi! I think there should be an option for not creating a user on OTP Login. Sure I can write a function to check if there is a user with the email already, but that takes extra time for the user. On cold starts even 10s of seconds sometimes, and no one want to wait so long.

Are there any options besides function?

TL;DR
To disable registering for OTP Login without writing a function to check for existing users, developers can utilize the feature to directly disable OTP registration in the authentication configuration settings of the system. This way, users won't have to wait for an additional check during registration.
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