Repository navigation
web/admin: fix policy/stage wizard label, fix connector create wizard, cleanup - #21781
Conversation
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-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-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 #21781 +/- ##
==========================================
- Coverage 92.22% 92.18% -0.05%
==========================================
Files 1034 1034
Lines 60024 60024
Branches 2695 2695
==========================================
- Hits 55356 55331 -25
- Misses 4595 4620 +25
Partials 73 73
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-f350cb9e0ddc2a9d9cd284d6e2f187c64f646f05
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-f350cb9e0ddc2a9d9cd284d6e2f187c64f646f05Afterwards, run the upgrade commands from the latest release notes. |
Split #common/storage into an accessor and shared types, and require storage keys to use the ak: prefix via a PersistenceKey type. Values under the old remember-me and library view mode keys are moved to the new keys on load, so returning users keep their remembered username and layout. The legacy session ID is still discarded under its original name. The migrations are marked for removal in 2027.2. Remove ShowHintController, which has had no users since goauthentik#21781.
Split #common/storage into an accessor and shared types, and require storage keys to use the ak: prefix via a PersistenceKey type. Values under the old remember-me and library view mode keys are moved to the new keys on load, so returning users keep their remembered username and layout. The migrations are marked for removal in 2027.2 (goauthentik#27036). Remove ShowHintController, which has had no users since goauthentik#21781.
* web: namespace storage keys and migrate legacy values Split #common/storage into an accessor and shared types, and require storage keys to use the ak: prefix via a PersistenceKey type. Values under the old remember-me and library view mode keys are moved to the new keys on load, so returning users keep their remembered username and layout. The migrations are marked for removal in 2027.2 (#27036). Remove ShowHintController, which has had no users since #21781. * web/flow: fix remember-me being cleared by CSRF token rotation The remembered username was keyed to a session ID derived from the CSRF token, and cleared whenever the two didn't match. Django rotates the CSRF token on every successful login, so the check failed on every later visit and the username was always forgotten. Drop the check, so the username is only cleared by switching the toggle off or following "Not you?", and discard the session ID left by earlier versions. Co-authored-by: Shawn O'Dell <[email protected]> * web/flow: bind remember-me keystroke listener for returning users The remember-me input listener was only attached from the toggle's change handler, so a returning user, who arrives with the switch already checked, never had it bound. A different user on the same device could type and submit their own username without it ever reaching localStorage, leaving the previous username prefilled forever, and auto-submitted in identification-only flows. Track whether the feature is on, seeded from the persisted value, and reconcile the listener when the controller connects and after each update. The stage adds the controller after it has rendered, so a further update isn't guaranteed. Cancel a pending keystroke write when the listener is detached, so switching the toggle off can't be undone by a write queued in the same frame. Disconnect the controller before the stage removes it, since removeController doesn't notify it and the listener would otherwise keep recording after the server turns remember-me off. Co-authored-by: Shawn O'Dell <[email protected]> * web/flow: respect the remember-me toggle when auto-submitting canAutoSubmit only checked whether a username was remembered when the page loaded, so a returning user who switched the toggle off was kept from being auto-submitted only by the one-shot attempt counter. Also require the feature to still be on. Checking only the live toggle state would instead auto-submit first-time visitors as soon as they opted in. * web/e2e: wait for the login flow before running browser tests The API answers before the worker has applied the default blueprints. Until then `/` redirects to an authentication flow that doesn't exist yet and 404s, so the availability check could fail on a slow start and skip the whole suite. Poll until the redirect chain resolves, and run the setup steps serially so the login step waits on it too. --------- Co-authored-by: Teffen Ellis <[email protected]>
No description provided.