BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Multiple OpenID Connect providers support

Open MarchoStoev opened this issue 3 months ago • 0 comments

Describe the feature you'd like

Hello,

I'd love to see Bookstack support multiple OIDC providers. Currently it only supports one provider. If someone is interested in the idea or needs a solution that implements this, I've submitted a pull request. Feel free to use it however you see fit: https://github.com/BookStackApp/BookStack/pull/5847. The Bookstack's version in my branch is v25.02-dev.

Describe the benefits this would bring to existing BookStack users

It would allow users to use multiple providers in BookStack. In my company's use cases we need to have 2 providers specifically in Bookstack. One for our Keycloak instance and one for an outer OAuth provider to be allowed access. Since we don't want to manage the users from the outer OAuth provider, it cannot be used as an IdP in our Keycloak. Support for multiple providers will allow administrators of the different providers to manage their own set of users, making it more flexible. The downside in my current implementation is it adds a little complexity in the setup of the environmental variables (more details in the pull request).

Can the goal of this request already be achieved via other means?

No.

Have you searched for an existing open/closed issue?

  • [x] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Under 3 months

Additional context

No response

MarchoStoev avatar Oct 21 '25 19:10 MarchoStoev