Multiple OpenID Connect providers support #5468

Open
opened 2026-02-05 10:05:16 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @MarchoStoev on GitHub (Oct 21, 2025).

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?

  • 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

Originally created by @MarchoStoev on GitHub (Oct 21, 2025). ### 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_
OVERLORD added the 🔨 Feature Request label 2026-02-05 10:05:16 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5468