Repository navigation
providers/oauth: Properly return error via post and for request objects - #23037
Conversation
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #23037 +/- ##
==========================================
- Coverage 93.27% 93.25% -0.03%
==========================================
Files 1032 1038 +6
Lines 60196 60749 +553
Branches 400 400
==========================================
+ Hits 56150 56652 +502
- Misses 4046 4097 +51
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-e1432e1c46e535d9265931f1b77ba6d3e893aa75
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-e1432e1c46e535d9265931f1b77ba6d3e893aa75Afterwards, run the upgrade commands from the latest release notes. |
Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Connor Peshek <[email protected]> Signed-off-by: Connor Peshek <[email protected]>
|
🍒 Cherry-pick to |
…yers' into web/css/enabling-layers * refs/remotes/origin/web/css/enabling-layers: (23 commits) flows: fix flow executor authentication with jwt (#16646) web: bump playwright from 1.60.0 to 1.61.0 in /web (#23542) core, web: update translations (#23534) web: bump the eslint group across 1 directory with 3 updates (#23538) web: bump type-fest from 5.6.0 to 5.7.0 in /web (#23544) lifecycle/aws: bump aws-cdk from 2.1128.0 to 2.1128.1 in /lifecycle/aws (#23535) core: bump deepmerge from 2.0 to 2.1.0 (#23539) root: fix "make gen" failing with "the input device is not a TTY" (#23546) core: bump library/golang from `76a2924` to `68b7145` in /lifecycle/container (#23536) core: bump goauthentik/fips-python from `15f00f3` to `6067443` in /lifecycle/container (#23537) website/integrations: fix logo missing (#23548) translate: Updates for project authentik and language ar_AA (#23516) Web/maintenance/explicit model endpoints (#22897) providers/oauth: Properly return error via post and for request objects (#23037) providers/oauth: Logout remove static html (#23002) core: bump dramatiq from 2.1.0 to 2.2.0 (#23381) website: bump semver from 7.8.4 to 7.8.5 in /website (#23299) web/flows: fix untranslated user field labels in identification stage (#23518) tasks/schedules: fix paused schedules getting unpaused on startup (#23521) sources/ldap: avoid re-creating connections to LDAP server (#23520) ...
* main: (415 commits) Web/maintenance: Replace routine form endpoints (#23554) root: move server and worker healthcheck to rust (#23556) website/docs: api: remove note (#23555) web: bump @playwright/test from 1.60.0 to 1.61.0 in /web (#23545) providers/scim: fix enum warning when de-serializing (#23553) flows: fix flow executor authentication with jwt (#16646) web: bump playwright from 1.60.0 to 1.61.0 in /web (#23542) core, web: update translations (#23534) web: bump the eslint group across 1 directory with 3 updates (#23538) web: bump type-fest from 5.6.0 to 5.7.0 in /web (#23544) lifecycle/aws: bump aws-cdk from 2.1128.0 to 2.1128.1 in /lifecycle/aws (#23535) core: bump deepmerge from 2.0 to 2.1.0 (#23539) root: fix "make gen" failing with "the input device is not a TTY" (#23546) core: bump library/golang from `76a2924` to `68b7145` in /lifecycle/container (#23536) core: bump goauthentik/fips-python from `15f00f3` to `6067443` in /lifecycle/container (#23537) website/integrations: fix logo missing (#23548) translate: Updates for project authentik and language ar_AA (#23516) Web/maintenance/explicit model endpoints (#22897) providers/oauth: Properly return error via post and for request objects (#23037) providers/oauth: Logout remove static html (#23002) ...
* main: (487 commits) Web/maintenance: Replace routine form endpoints (#23554) root: move server and worker healthcheck to rust (#23556) website/docs: api: remove note (#23555) web: bump @playwright/test from 1.60.0 to 1.61.0 in /web (#23545) providers/scim: fix enum warning when de-serializing (#23553) flows: fix flow executor authentication with jwt (#16646) web: bump playwright from 1.60.0 to 1.61.0 in /web (#23542) core, web: update translations (#23534) web: bump the eslint group across 1 directory with 3 updates (#23538) web: bump type-fest from 5.6.0 to 5.7.0 in /web (#23544) lifecycle/aws: bump aws-cdk from 2.1128.0 to 2.1128.1 in /lifecycle/aws (#23535) core: bump deepmerge from 2.0 to 2.1.0 (#23539) root: fix "make gen" failing with "the input device is not a TTY" (#23546) core: bump library/golang from `76a2924` to `68b7145` in /lifecycle/container (#23536) core: bump goauthentik/fips-python from `15f00f3` to `6067443` in /lifecycle/container (#23537) website/integrations: fix logo missing (#23548) translate: Updates for project authentik and language ar_AA (#23516) Web/maintenance/explicit model endpoints (#22897) providers/oauth: Properly return error via post and for request objects (#23037) providers/oauth: Logout remove static html (#23002) ...
* main: Web/maintenance: Replace routine form endpoints (#23554) root: move server and worker healthcheck to rust (#23556) website/docs: api: remove note (#23555) web: bump @playwright/test from 1.60.0 to 1.61.0 in /web (#23545) providers/scim: fix enum warning when de-serializing (#23553) flows: fix flow executor authentication with jwt (#16646) web: bump playwright from 1.60.0 to 1.61.0 in /web (#23542) core, web: update translations (#23534) web: bump the eslint group across 1 directory with 3 updates (#23538) web: bump type-fest from 5.6.0 to 5.7.0 in /web (#23544) lifecycle/aws: bump aws-cdk from 2.1128.0 to 2.1128.1 in /lifecycle/aws (#23535) core: bump deepmerge from 2.0 to 2.1.0 (#23539) root: fix "make gen" failing with "the input device is not a TTY" (#23546) core: bump library/golang from `76a2924` to `68b7145` in /lifecycle/container (#23536) core: bump goauthentik/fips-python from `15f00f3` to `6067443` in /lifecycle/container (#23537) website/integrations: fix logo missing (#23548) translate: Updates for project authentik and language ar_AA (#23516) Web/maintenance/explicit model endpoints (#22897) providers/oauth: Properly return error via post and for request objects (#23037) providers/oauth: Logout remove static html (#23002)
…ts (cherry-pick #23037 to version-2026.5) (#23529) providers/oauth: Properly return error via post and for request objects (#23037) Co-authored-by: Connor Peshek <[email protected]>
Details
What does this PR change?
Previously all authorization errors were returned as a fragment or redirect with the error in the query params, now we return some errors via form post. This is a requirement for OIDC certification.
We also parse request objects just enough to properly reject them, which is also a requirement for OIDC certification.
Why is this change needed?
Withouth this, we do not meet certain oidc requirements.
How was this tested?
Via test suite and openid.net cert testing suite
Linked issues
Checklist
make all)make docs)