Restrict Registration to Some Social Integrations #2400

Closed
opened 2026-02-05 03:57:40 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @csicar on GitHub (Sep 22, 2021).

Describe the feature you'd like
As a admin of a BookStack installation, I would like to have the option to restrict registration to just Slack, but not via e-mail.

Describe the benefits this feature would bring to BookStack users
I would be only allow slack users with access to a specific workspace to register an account, but disallow users to register via email.

Additional context
If the development team agrees, that this is a feature worth implementing, I would be willing to put the work in to get it implemented

Originally created by @csicar on GitHub (Sep 22, 2021). **Describe the feature you'd like** As a admin of a BookStack installation, I would like to have the option to restrict registration to just Slack, but not via e-mail. **Describe the benefits this feature would bring to BookStack users** I would be only allow slack users with access to a specific workspace to register an account, but disallow users to register via email. **Additional context** If the development team agrees, that this is a feature worth implementing, I would be willing to put the work in to get it implemented
Author
Owner

@ssddanbrown commented on GitHub (Sep 23, 2021):

Thanks for the suggestion @csicar.
This would probably be a level of configuration I would be apprehensive to go down to.
Might be okay if it can be implemented in a simple manner via just one .env configuration option.

To implement in the required format though, this may be dependant of #1090 since we don't currently provide the mechanisms to properly independently disable to primary auth method.

For your specific scenario, are you sure the "Automatic Registration" option described on this page doesn't already provide the required functionality? Enabling this for should allow auto-registration via the slack option on the login page, while leaving registrations disabled for email sign-up.

@ssddanbrown commented on GitHub (Sep 23, 2021): Thanks for the suggestion @csicar. This would probably be a level of configuration I would be apprehensive to go down to. Might be okay if it can be implemented in a simple manner via just one `.env` configuration option. To implement in the required format though, this may be dependant of #1090 since we don't currently provide the mechanisms to properly independently disable to primary auth method. For your specific scenario, are you sure the "Automatic Registration" option [described on this page](https://www.bookstackapp.com/docs/admin/third-party-auth/) doesn't already provide the required functionality? Enabling this for should allow auto-registration via the slack option on the login page, while leaving registrations disabled for email sign-up.
Author
Owner

@csicar commented on GitHub (Sep 23, 2021):

Thank you for the quick response.

For your specific scenario, are you sure the "Automatic Registration" option described on this page doesn't already provide the required functionality?

Oh yes, that's exactly what I'm looking for. Thank you! I don't know how I missed that.

@csicar commented on GitHub (Sep 23, 2021): Thank you for the quick response. > For your specific scenario, are you sure the "Automatic Registration" option described on this page doesn't already provide the required functionality? Oh yes, that's exactly what I'm looking for. Thank you! I don't know how I missed that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2400