Skip to content

web/admin: manage password lockout - #24798

Merged
dominic-r merged 1 commit into
mainfrom
dominic/password-lockout-web
Nov 2, 2026
Merged

dominic-r merged 1 commit into
mainfrom
dominic/password-lockout-web

Conversation

@dominic-r

@dominic-r dominic-r commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

Details

Part of the password lockout stack, on top of #24794. Screenshots are in #24325.

What does this PR change?

The Password stage form gains Failed attempts before lockout, Last-attempt warning message and Lockout message. They are read-only without an Enterprise license.

The user page gains Lock password login and Unlock password login, each behind a confirmation dialog. The button is hidden for users without a password device. Locking is also hidden for service accounts and without a license; unlocking stays available.

Why is this change needed?

Administrators need to configure lockout and release locked users without calling the API.

How was this tested?

Browser tests check which button each user type, lock state and license combination gets, and that it calls the lock or unlock endpoint. Type-checked and linted the frontend. On a dev instance, configured the stage and locked and unlocked a user from the user page.

Linked issues

None.


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)
  • I have read the AI usage policy.

@dominic-r dominic-r self-assigned this Aug 5, 2026
@dominic-r dominic-r added the area:frontend Features or issues related to the browser, TypeScript, Node.js, etc label Aug 5, 2026
@dominic-r
dominic-r marked this pull request as ready for review August 5, 2026 23:51
@dominic-r
dominic-r requested a review from a team as a code owner August 5, 2026 23:51
Copilot AI lite review requested due to automatic review settings August 5, 2026 23:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@netlify

netlify Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit dcd1fe6
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a848b07d8d84e0008c60bc0
😎 Deploy Preview https://deploy-preview-24798--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.

Copilot AI review requested due to automatic review settings August 7, 2026 14:49
@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch from 848fd00 to f3bac9e Compare August 7, 2026 14:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov

codecov Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.84%. Comparing base (733d131) to head (9489b7d).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #24798   +/-   ##
=======================================
  Coverage   92.84%   92.84%           
=======================================
  Files        1211     1211           
  Lines       83335    83335           
  Branches     4686     4686           
=======================================
+ Hits        77369    77370    +1     
+ Misses       5890     5889    -1     
  Partials       76       76           
Flag Coverage Δ
conformance 30.73% <ø> (+<0.01%) ⬆️
e2e 35.52% <ø> (+<0.01%) ⬆️
integration 28.21% <ø> (-0.01%) ⬇️
rust 49.31% <ø> (ø)
unit 94.38% <ø> (+<0.01%) ⬆️
unit-migrate 94.38% <ø> (+<0.01%) ⬆️

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

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

@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch from f3bac9e to 9a3d6b8 Compare August 9, 2026 17:15
@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch from 9a3d6b8 to eeed232 Compare August 18, 2026 14:52
@netlify

netlify Bot commented Aug 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 95d9519
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a8f1e3e8b860a00087e1e51
😎 Deploy Preview https://deploy-preview-24798--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.

@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch from eeed232 to 2c59f15 Compare August 18, 2026 16:25
@dominic-r
dominic-r requested review from a team as code owners August 18, 2026 16:25
@dominic-r
dominic-r deleted the branch main August 18, 2026 16:28
@dominic-r dominic-r closed this Aug 18, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in authentik Core Aug 18, 2026
@dominic-r dominic-r reopened this Aug 18, 2026
@dominic-r
dominic-r changed the base branch from dominic/user-status to dominic/password-lockout August 18, 2026 16:31
@github-project-automation github-project-automation Bot moved this from Done to Todo in authentik Core Aug 18, 2026
@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch from 689d65b to 95d9519 Compare August 26, 2026 17:11
@github-actions

github-actions Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 41508642601 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-9489b7d79a821ac01e22bec77a7e5d2aea23a2ef
# Distroless image: AUTHENTIK_TAG=gh-9489b7d79a821ac01e22bec77a7e5d2aea23a2ef-distroless
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-9489b7d79a821ac01e22bec77a7e5d2aea23a2ef
        # Distroless image: tag: gh-9489b7d79a821ac01e22bec77a7e5d2aea23a2ef-distroless

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

@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch from 6c915c3 to bec1997 Compare September 27, 2026 21:36
@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch from bec1997 to 9fbb072 Compare September 27, 2026 22:42
@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch 2 times, most recently from fbe24b1 to 4b21175 Compare September 27, 2026 22:49
@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch 2 times, most recently from 64df632 to bba47c7 Compare October 4, 2026 19:51
@dominic-r
dominic-r removed the request for review from a team October 5, 2026 15:32
@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch from bba47c7 to 9a2210a Compare October 5, 2026 17:44
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Oct 27, 2026
Base automatically changed from dominic/password-lockout to main November 2, 2026 19:01
@dominic-r
dominic-r force-pushed the dominic/password-lockout-web branch from d6454d8 to 9489b7d Compare November 2, 2026 19:17
@dominic-r
dominic-r enabled stacked auto-merge (squash) November 2, 2026 19:40
@dominic-r
dominic-r merged commit b092dd7 into main Nov 2, 2026
170 checks passed
@dominic-r
dominic-r deleted the dominic/password-lockout-web branch November 2, 2026 19:41
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Features or issues related to the browser, TypeScript, Node.js, etc

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants