Back

How to disable register on self-hosted AppWrite?

  • 0
  • Self Hosted
Ramzan
7 Apr, 2024, 10:49

I don't want anyone on internet being able to register on my instance of AppWrite. Yes, I can limit access to particular projects in Security, but still anyone can register on my instance and create new projects.

TL;DR
To disable registration on a self-hosted AppWrite instance, developers can use the environment variable _APP_CONSOLE_WHITELIST_ROOT. By enabling this option, only 1 user can use the registration form, and new users can be added by invitation to the project. This ensures that no one from the internet can register on the AppWrite instance.
Ramzan
7 Apr, 2024, 10:53

Ah, just found env variable: _APP_CONSOLE_WHITELIST_ROOT This option allows you to disable the creation of new users on the Appwrite console. When enabled only 1 user will be able to use the registration form. New users can be added by inviting them to your project. By default this option is enabled. https://appwrite.io/docs/advanced/self-hosting/environment-variables#general

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