Selfhosted - disable sign up possible?

Hi there. I am looking into uibakery. I am trying to disable account creation from the ui but can’t find a way… is this possible?

Thanks,
Duarte

Hi @dcarreira

If I understand you correctly, you would like to allow users to use the app without signing up. If this is correct, you can make the app public, but please note that it will be available across the Internet. Public apps are available as part of the Business plan.
Otherwise, you cannot disable sign-up for the users.

Thank you

Hi @Kate . Thanks for replying. But then how do we manage what accounts get created? Users can create accounts any time for any reason (eg just curiosity)?

OP means that anyone can click on the account sign up button and gain access to the website. I don’t know why this cannot be disabled.

It can’t be disabled as it’s the only way to create an account (account can’t be registered without invite, so random users won’t be able to sign up).

In any case, you can hide the "Register " button with the UI_BAKERY_BRANDING_AUTH_SIGN_UP_LINK_HIDDEN .env variable.

Funnily enough I discovered the same workaround about 20 minutes before you posted.

Though I am almost certain I was able to sign up using a random email address the other day, which is what prompted me to post my previous reply in the first place. Now, I just get this when trying to sign up: “Organizations quota exceeded, contact ui bakery team for quota increase”. Even though I have not exceeded my quota. Not that it matters to me because I don’t want people signing up anyway.

1 Like

The first user (and workspace) on the instance should be signed up via the registration process. After this, no one will be able to sign up, join, or create their own workspace without an invite. This is unless SSO is configured and “Allow auto-join via SSO with your_domain.com emails” is enabled for your workspace.

The default quota for organizations (workspaces) is 1, so you definitely went over it with the new sign-up.

1 Like