Repository navigation
flows: keep next on the access denied page's cancel link (cherry-pick #27364 to version-2026.8) - #27698
Conversation
* flows: keep next on the access denied page's cancel link stage_invalid() cancelled the flow before building the access denied challenge, and cancelling clears the stored query, so the page's cancel link lost `next` and fell back to the bare cancel URL. "Go back" and "Not you?" then ran the invalidation flow and logged the user out instead of restarting with the original request, such as an OAuth2 authorize URL. * flows: render the access denied challenge before cancelling the flow Building the cancel URL in AccessDeniedStage's constructor read the session from a request that callers set after construction, so a stage view built without one, as the generic stage view tests do, crashed. Render the challenge before cancel() instead, which keeps `next` on the cancel link without the stage needing to know about the ordering. --------- Co-authored-by: Jens L. <[email protected]>
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-integrations 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 @@
## version-2026.8 #27698 +/- ##
===============================================
Coverage 92.25% 92.25%
===============================================
Files 1168 1168
Lines 76341 76351 +10
Branches 4187 4187
===============================================
+ Hits 70426 70438 +12
+ Misses 5849 5847 -2
Partials 66 66
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-cbe8cd484ecc9a5c9b3a18941348343c63b40955
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-cbe8cd484ecc9a5c9b3a18941348343c63b40955Afterwards, run the upgrade commands from the latest release notes. |
Cherry-pick of #27364 to
version-2026.8branch.Original PR: #27364
Original Author: @dominic-r
Cherry-picked commit: f145b3b