openblocks
openblocks copied to clipboard
Signup Restriction
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
Hey @MichalisDBA, I am going to move this to our feature requests as it is not currently a functionality. Thanks for the feedback.
+1
Will be good to create dashboard, but i need to close "no invited" to income!
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.
Sorry. I try to say, theres no one user coming in the app selfhosted without invite
How's this coming along, I see it's n Jan 2023 - is this something that's expected soon?
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:
-
Go to your workspace where Openblocks is deployed (~/workspace in my case), then
cd ./stacks/configuration
-
edit
application-selfhost.yml
, add settings for auth as below, then setenable-register
would help you disable user future signups.
auth:
email:
enable: ${LOGIN_CHANNEL_EMAIL:true}
enable-register: ${LOGIN_CHANNEL_EMAIL_REGISTER:false}

- Save the file and restart your deployment.
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.
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 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.
None of this helps me. docker environment and configuration changes dont work.
Of cource after changes i restarted container
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.