How to disable user registration in self-hosted n8n (latest version)?

Hi everyone,

I’m running n8n on a subdomain of my website and need to prevent new users from creating accounts to avoid unauthorized consumption of server resources.

I believe N8N_USER_MANAGEMENT_DISABLED no longer works in recent versions. What’s the current best practice to disable user registration while keeping my existing account functional?

Running latest n8n via Docker.

Thanks!

Information on your n8n setup

  • n8n version: 1.10
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): self hosted Docker Google Cloud
  • Operating system: Windows 11

Hey @Kiremit hope all is good,

I thought that when you create your user account initially and don’t create any more accounts, then you just don’t have user registration on the login screen, for instance this is how my login looks like

Is it different for you?

Hi @jabbson thanks for your fast response… that’s what I need to know for sure - that’s the problem. I can’t fidn anything. I mean I entered /signup and got redirected to /signin which would confirm your statement but I need to be sure.

If your login page looks like mine, users will not be able to register for sure. My understanding is that only the admin can create more users (especially if no If no sso/ldap configured).

@jabbson but I cant find any official texts from N8N stating that.

After reading the documentation, I don’t even think that there is a self registration form or portal in n8n. It appears that as of now it is an invite-only system, and the only way to bring new users into the system, it for them to be invited by the owner or admin.

Things could be different in you have ldap or sso configured. Do you?

@jabbson no I don’t … just a basic docker instance running on Google Cloud

@Kiremit then you should be good.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.