Skip to content

website/docs: document password lockout - #24799

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

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

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 #24798.

What does this PR change?

Documents password lockout on the Password stage page: the three settings, what a lock blocks and what it doesn't, the exemptions, permissions and license rules for locking and unlocking, the audit events, and the API. Adds password lockout to the list of Enterprise features.

Why is this change needed?

Documentation for the feature added in #24794 and #24798.

How was this tested?

Built the docs site, including the link check, and ran the docs linter and formatter.

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 marked this pull request as ready for review August 5, 2026 23:52
@dominic-r
dominic-r requested a review from a team as a code owner August 5, 2026 23:52
Copilot AI lite review requested due to automatic review settings August 5, 2026 23:52

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.

@dominic-r dominic-r self-assigned this Aug 5, 2026
@dominic-r dominic-r added the area:docs Features or issues related to Docusaurus label Aug 5, 2026
@dominic-r dominic-r added this to the Release 2026.11.0: Required milestone Aug 5, 2026
@netlify

netlify Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit ffb7d46
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a8f1e400e2abe000864b9c2
😎 Deploy Preview https://deploy-preview-24799--authentik-integrations.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 Aug 5, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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


### Unlock a password

A locked password is restored in either of two ways:

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.

Suggested change
A locked password is restored in either of two ways:
A password locked user is restored in one of two ways:


A locked password is restored in either of two ways:

- An administrator opens the user in **Directory** > **Users** and selects **Unlock password**.

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.

Suggested change
- An administrator opens the user in **Directory** > **Users** and selects **Unlock password**.
- An administrator unlocks the user in **Directory** > **Users** and selects **Unlock password**.

- An administrator opens the user in **Directory** > **Users** and selects **Unlock password**.
- The password is changed, for example through a recovery flow or by an administrator setting a new one. A password reset is always a way back in.

Both clear the failure count, and unlocking records a `password_unlocked` event.

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.

Suggested change
Both clear the failure count, and unlocking records a `password_unlocked` event.
Both clear the failure count, and unlocking created a `password_unlocked` event in the event log.

- **User database + LDAP password**
- **User database + Kerberos password**
- **Failed attempts before cancel**: how many failed password submissions are allowed before the flow is canceled.
- **Failed attempts before cancel**: how many failed password submissions are allowed before the flow is canceled. This only ends the flow; the user can start again immediately.

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.

Suggested change
- **Failed attempts before cancel**: how many failed password submissions are allowed before the flow is canceled. This only ends the flow; the user can start again immediately.
- **Failed attempts before cancel**: how many failed password submissions are allowed before the flow is canceled. This only ends the flow; the user can restart the flow immediately.

- **User database + Kerberos password**
- **Failed attempts before cancel**: how many failed password submissions are allowed before the flow is canceled.
- **Failed attempts before cancel**: how many failed password submissions are allowed before the flow is canceled. This only ends the flow; the user can start again immediately.
- **Failed attempts before lockout**: how many consecutive failed submissions lock the user's password. Set to `0` to never lock. Requires an enterprise license. See [Password lockout](#password-lockout).

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.

Suggested change
- **Failed attempts before lockout**: how many consecutive failed submissions lock the user's password. Set to `0` to never lock. Requires an enterprise license. See [Password lockout](#password-lockout).
- **Failed attempts before lockout**: how many consecutive failed submissions password lock the user's account. Set to `0` to never password lock. Requires an enterprise license. See [Password lockout](#password-lockout).

We need to be careful to always say "password lock" rather than just "lock" because a user can still login via non password based flows.


The count is per user and survives across flows and sessions. It resets whenever the user authenticates successfully.

Locking is deliberately invisible to the person at the login prompt: the flow reports the same "Invalid password" error it reports for a wrong password, so the response cannot be used to discover whether an account exists or has been locked. The lock itself is recorded as a `password_locked` event in the [event log](../../../../sys-mgmt/events/index.md).

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.

Suggested change
Locking is deliberately invisible to the person at the login prompt: the flow reports the same "Invalid password" error it reports for a wrong password, so the response cannot be used to discover whether an account exists or has been locked. The lock itself is recorded as a `password_locked` event in the [event log](../../../../sys-mgmt/events/index.md).
Password locking is deliberately invisible to the person at the login prompt: the flow reports the same "Invalid password" error it reports for a wrong password, so the response cannot be used to discover whether an account exists or has been locked. The lock itself is recorded as a `password_locked` event in the [event log](../../../../sys-mgmt/events/index.md).

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Aug 6, 2026
Copilot AI review requested due to automatic review settings August 7, 2026 14:49
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from 77a2fa4 to 7bf4570 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 (b092dd7) to head (7d0246d).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #24799   +/-   ##
=======================================
  Coverage   92.83%   92.84%           
=======================================
  Files        1211     1211           
  Lines       83335    83335           
  Branches     4686     4686           
=======================================
+ Hits        77365    77369    +4     
+ Misses       5894     5890    -4     
  Partials       76       76           
Flag Coverage Δ
conformance 30.73% <ø> (+0.04%) ⬆️
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 requested review from a team as code owners August 9, 2026 17:15
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from 7bf4570 to 7447908 Compare August 9, 2026 17:15
@github-actions

github-actions Bot commented Aug 9, 2026

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-7447908036c622d1ea3e130e8f97cd560356e99f
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-7447908036c622d1ea3e130e8f97cd560356e99f

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

@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from 7447908 to c14d7a7 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 ffb7d46
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a8f1e406f5dea0008a84824
😎 Deploy Preview https://deploy-preview-24799--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/docs-password-lockout branch 2 times, most recently from ea42945 to 2454309 Compare August 18, 2026 16:40
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from 2454309 to b11ad3a Compare August 18, 2026 19:13
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from b11ad3a to ffb7d46 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 41512516176 -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-7d0246d9cf59e002b5585e62f6180f609ef74712
# Distroless image: AUTHENTIK_TAG=gh-7d0246d9cf59e002b5585e62f6180f609ef74712-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-7d0246d9cf59e002b5585e62f6180f609ef74712
        # Distroless image: tag: gh-7d0246d9cf59e002b5585e62f6180f609ef74712-distroless

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

@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from e850aaf to 5ba5555 Compare September 27, 2026 21:37
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from 5ba5555 to 6155d88 Compare September 27, 2026 22:42
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from 6155d88 to 122d025 Compare September 27, 2026 22:47
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from 122d025 to 243237d Compare September 27, 2026 22:49
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from 243237d to f699951 Compare October 4, 2026 19:44
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from f699951 to 22f0fb0 Compare October 4, 2026 19:51
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from 22f0fb0 to 9321c31 Compare October 5, 2026 17:44
Base automatically changed from dominic/password-lockout-web to main November 2, 2026 19:41
@dominic-r
dominic-r force-pushed the dominic/docs-password-lockout branch from 6be7db1 to 7d0246d Compare November 2, 2026 19:42
@dominic-r
dominic-r enabled stacked auto-merge (squash) November 2, 2026 19:44
@dominic-r
dominic-r merged commit 2e50b03 into main Nov 2, 2026
170 checks passed
@dominic-r
dominic-r deleted the dominic/docs-password-lockout branch November 2, 2026 20:05
@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:docs Features or issues related to Docusaurus

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants