Repository navigation
feat: implement OpenID Connect provider settings; add E2E tests - #12
Open
michaelhthomas wants to merge 34 commits into
Open
michaelhthomas wants to merge 34 commits into
michaelhthomas wants to merge 34 commits into
Conversation
michaelhthomas
force-pushed
the
feat/oidc-login-basic
branch
from
October 10, 2026 04:01
2d1a2ed to
2e52312
Compare
…n single transaction
This improves CSRF protection somewhat, and also improves compatibilty with Authelia and Authentik, which both have strange handling of the `state` parameter either beyond or non-compliant with the specification.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
cookie-parser was initialized with settings.clientId (the Plex client
UUID), but express-session signs connect.sid with settings.sessionSecret.
The secrets differ, so cookie-parser's signature check on connect.sid
fails, the cookie is dropped from req.cookies, and the OpenAPI validator
rejects every authenticated request with "cookie 'connect.sid' required"
even though the browser is sending it correctly.
This also matches the signing secret used by the OIDC code-verifier and
state cookies that are stored via res.cookie(..., {signed: true}), which
read back through req.signedCookies during the callback.
This resolves an issue where, if you reached your user's linked accounts
settings from Users -> Edit, then the redirect URL would be
`/users/{id}/settings/linked-accounts`, which does not match the
documented redirect URLs.
michaelhthomas
force-pushed
the
feat/oidc-login-basic
branch
from
November 7, 2026 16:49
2e52312 to
b1312cc
Compare
michaelhthomas
force-pushed
the
feat/oidc-login-remaining
branch
from
November 7, 2026 18:41
73b0cb3 to
3f9bbb6
Compare
michaelhthomas
force-pushed
the
feat/oidc-login-remaining
branch
from
November 7, 2026 19:00
3f9bbb6 to
b8f2fc8
Compare
michaelhthomas
force-pushed
the
feat/oidc-login-basic
branch
from
November 15, 2026 22:49
b1312cc to
0aa6805
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follow up to seerr-team#3241 which adds additional functionality: a settings UI for configuring OpenID Connect, end to end tests against a mock provider, and updated documentation.
How Has This Been Tested?
This PR adds end to end test coverage. I also tested it manually with several common OpenID Connect providers.
Screenshots / Logs (if applicable)
Checklist:
pnpm buildpnpm i18n:extract