Skip to content

More flexible OIDC key support#5912

Closed
McTom234 wants to merge 1 commit intoBookStackApp:developmentfrom
McTom234:oidc-key-algorithms
Closed

More flexible OIDC key support#5912
McTom234 wants to merge 1 commit intoBookStackApp:developmentfrom
McTom234:oidc-key-algorithms

Conversation

@McTom234
Copy link
Copy Markdown

The goal of this PR is to allow more key algorithms for OIDC signing keys.

The concerns regarding such implementation in #5390 were considered. I try to address them by allowing a flexible, extensible, and somewhat maintainable approach, which I gratefully take feedback on and am willing to improve by the feedback provided.

Therefore, the issue with this PR is not the few lines of code changed but the architecture of how more key algorithms could be supported. For presentation reasons, I added the RS512 algorithm, which I had done before.
If the suggested approach would be considered by the maintainers, I needed some support to extend and test this with more common algorithms like ES256 as described in the issue mentioned above.

Besides that, the test suits would probably need at least a test case per key algorithm to confirm that the implementations are working, which is currently a ToDo.

@ssddanbrown
Copy link
Copy Markdown
Member

Marking as blocked since this would really await a second algorithm to support, pending qualification as per my comment here: #5390 (comment)

@ssddanbrown ssddanbrown mentioned this pull request Apr 21, 2026
2 tasks
@ssddanbrown
Copy link
Copy Markdown
Member

BookStack is now managed on Codeberg.

As part of this change, we're closing all existing GitHub issues and pull requests.
You'll instead find this issue on Codeberg here:
https://codeberg.org/bookstack/bookstack/pulls/5912

Any further discussion for this will now be done on Codeberg.
Therefore this GitHub thread will be locked.

@BookStackApp BookStackApp locked as resolved and limited conversation to collaborators Apr 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

2 participants