Repository navigation
providers/oauth: handle token exchange when no signing key is set - #26049
Conversation
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #26049 +/- ##
==========================================
- Coverage 91.88% 91.85% -0.04%
==========================================
Files 1170 1170
Lines 75520 75532 +12
Branches 4054 4054
==========================================
- Hits 69392 69379 -13
- Misses 6086 6111 +25
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Playwright e2e —
|
| Result | Count |
|---|---|
| ✅ Passed | 43 |
| ❌ Failed | 0 |
| 1 | |
| ⏭️ Skipped | 4 |
Workflow run · HTML report hosting is gated off until the authentik-playwright-artifacts S3 bucket is provisioned (vars.PLAYWRIGHT_S3_ENABLED). Until then, download the playwright-report artifact from the run page.
Signed-off-by: Jens Langhammer <[email protected]>
|
🍒 Cherry-pick to |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-17835a449ae8f6074713af88ce3b62218cb21847
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-17835a449ae8f6074713af88ce3b62218cb21847Afterwards, run the upgrade commands from the latest release notes. |
…erry-pick #26049 to version-2026.8) (#26051) providers/oauth: handle token exchange when no signing key is set (#26049) * Handle token exchange when no signing key is set * explicit grant types --------- Signed-off-by: Jens Langhammer <[email protected]> Co-authored-by: Dewi Roberts <[email protected]> Co-authored-by: Jens Langhammer <[email protected]>
Details
What does this PR change?
Fixes provider-federated JWT verification for OAuth2 providers without a configured signing key. These providers use HS256 with their client secret, but verification incorrectly attempted to call
.public_key()on the secret.Why is this change needed?
How was this tested?
Linked issues
Checklist
make all)make docs)