openblocks icon indicating copy to clipboard operation
openblocks copied to clipboard

Signup Restriction

Open MichalisDBA opened this issue 2 years ago • 4 comments

Create an option to disable Users sign-up and allow only 1 master account to exist.

If another user wants to sign-up and create a workspace, that will possible only via invites.

You can check appsmith implementation:

https://docs.appsmith.com/getting-started/setup/instance-configuration/disable-user-signup

MichalisDBA avatar Nov 15 '22 09:11 MichalisDBA

Hey @MichalisDBA, I am going to move this to our feature requests as it is not currently a functionality. Thanks for the feedback.

neon-balcony avatar Nov 15 '22 12:11 neon-balcony

+1

Will be good to create dashboard, but i need to close "no invited" to income!

leoborlot avatar Nov 17 '22 20:11 leoborlot

Hi @leonardoborlot, For your case I think you can just set up your app with Share > Make the app public, then share the link among your members, the app will be public to all (including anonymous users), without invitation or signup. image

neon-balcony avatar Nov 18 '22 02:11 neon-balcony

Sorry. I try to say, theres no one user coming in the app selfhosted without invite

Screenshot_20221117-233603_Chrome

leoborlot avatar Nov 18 '22 02:11 leoborlot

How's this coming along, I see it's n Jan 2023 - is this something that's expected soon?

Hybes avatar Jan 31 '23 16:01 Hybes

Hey folks, this feature has been published with the latest image for a while, sorry for the late update 😭

Now you can follow the steps to disable sign up:

  1. Go to your workspace where Openblocks is deployed (~/workspace in my case), then cd ./stacks/configuration image

  2. edit application-selfhost.yml, add settings for auth as below, then set enable-register would help you disable user future signups.

auth:
  email:
    enable: ${LOGIN_CHANNEL_EMAIL:true}
    enable-register: ${LOGIN_CHANNEL_EMAIL_REGISTER:false}
image
  1. Save the file and restart your deployment. image

neon-balcony avatar Feb 01 '23 03:02 neon-balcony

If you are deploying Openblocks with Docker, you could also set the environment variable ENABLE_USER_SIGN_UP to false. See latest docker-compose.yml.

sourcebert avatar Feb 01 '23 08:02 sourcebert

Would it be possible to restrict new user signups to one domain? I would like users in my org to be able to sign up easily, but no one else.

johndanek avatar Feb 03 '23 21:02 johndanek

@johndanek Good idea, but domain restriction is not enough though, we need to add mail server support combined with it to prevent hacking a non-exist email account.

neon-balcony avatar Feb 06 '23 02:02 neon-balcony

None of this helps me. docker environment and configuration changes dont work. изображение изображение изображение

Of cource after changes i restarted container

mcking230 avatar Mar 22 '23 08:03 mcking230

Hi @mcking230 , we apologize for the inconvenience. Openblocks now supports administrators configuring it in the Settings -> ID Providers -> ... -> Allow registration, and the old style has been deprecated. image

lvhuichao avatar Mar 23 '23 11:03 lvhuichao