Skip to content

web/admin: fix policy/stage wizard label, fix connector create wizard, cleanup - #21781

Merged
BeryJu merged 3 commits into
mainfrom
web/admin/ref-51341324
Apr 22, 2026
Merged

BeryJu merged 3 commits into
mainfrom
web/admin/ref-51341324

Conversation

@BeryJu

@BeryJu BeryJu commented Apr 22, 2026

Copy link
Copy Markdown
Member

No description provided.

BeryJu added 3 commits April 22, 2026 19:03
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu requested a review from a team as a code owner April 22, 2026 17:04
@netlify

netlify Bot commented Apr 22, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit f350cb9
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69e8ffb5d94ff90008da589a
😎 Deploy Preview https://deploy-preview-21781--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Apr 22, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit f350cb9
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69e8ffb5969f490008f366ab
😎 Deploy Preview https://deploy-preview-21781--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Apr 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.18%. Comparing base (42fc9d5) to head (f350cb9).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

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              
Flag Coverage Δ
conformance 36.97% <ø> (+<0.01%) ⬆️
e2e 42.88% <ø> (+<0.01%) ⬆️
integration 33.39% <ø> (-0.52%) ⬇️
rust 60.55% <ø> (ø)
unit 91.93% <ø> (+<0.01%) ⬆️
unit-migrate 92.03% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

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)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

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-f350cb9e0ddc2a9d9cd284d6e2f187c64f646f05

Afterwards, run the upgrade commands from the latest release notes.

@BeryJu
BeryJu merged commit 805ff9f into main Apr 22, 2026
109 checks passed
@BeryJu
BeryJu deleted the web/admin/ref-51341324 branch April 22, 2026 17:32
GirlBossRush added a commit to so-jelly/authentik that referenced this pull request Oct 20, 2026
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.
GirlBossRush added a commit to so-jelly/authentik that referenced this pull request Oct 20, 2026
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.
GirlBossRush added a commit that referenced this pull request Oct 20, 2026
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants