Repository navigation
flows: strip login_hint from next on cancel to prevent loop (cherry-pick #26111 to version-2026.8) - #26168
Conversation
* flows: clear login_hint on cancel to fix 'Not You?' loop When a login_hint is passed to the OAuth2 authorize endpoint, it is prefilled into the identification stage and also carried in the flow's `next` param. On clicking 'Not You?', CancelView redirected back to `next`, which re-entered the authorize flow and re-applied login_hint from the URL, trapping the user in a loop. Strip login_hint from the cancel `next` redirect so re-entering the flow no longer re-prefills the identifier, while legitimate first-arrival prefill (read directly from the authorize URL) is unaffected. Fixes #25476 * cleanup Signed-off-by: Jens Langhammer <[email protected]> --------- Signed-off-by: Jens Langhammer <[email protected]> Co-authored-by: Jens Langhammer <[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 #26168 +/- ##
===============================================
Coverage 91.82% 91.83%
===============================================
Files 1160 1160
Lines 74692 74718 +26
Branches 4056 4056
===============================================
+ Hits 68587 68618 +31
+ Misses 6063 6058 -5
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. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-506eb147e76bf596304f634076835867c5d1de59
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-506eb147e76bf596304f634076835867c5d1de59Afterwards, run the upgrade commands from the latest release notes. |
Cherry-pick of #26111 to
version-2026.8branch.Original PR: #26111
Original Author: @Jorge-Polanco-Roque
Cherry-picked commit: 0e9a19a