Repository navigation
website/docs: document password lockout - #24799
Conversation
✅ Deploy Preview for authentik-integrations 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. |
|
|
||
| ### Unlock a password | ||
|
|
||
| A locked password is restored in either of two ways: |
There was a problem hiding this comment.
| 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**. |
There was a problem hiding this comment.
| - 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. |
There was a problem hiding this comment.
| 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. |
There was a problem hiding this comment.
| - **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). |
There was a problem hiding this comment.
| - **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). |
There was a problem hiding this comment.
| 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). |
77a2fa4 to
7bf4570
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
7bf4570 to
7447908
Compare
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your 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)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-7447908036c622d1ea3e130e8f97cd560356e99fAfterwards, run the upgrade commands from the latest release notes. |
7447908 to
c14d7a7
Compare
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
ea42945 to
2454309
Compare
2454309 to
b11ad3a
Compare
b11ad3a to
ffb7d46
Compare
Playwright e2eDownload 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-reportInstallation instructionsInstructions for docker-composeAdd the following block to your 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)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-7d0246d9cf59e002b5585e62f6180f609ef74712
# Distroless image: tag: gh-7d0246d9cf59e002b5585e62f6180f609ef74712-distrolessAfterwards, run the upgrade commands from the latest release notes. |
e850aaf to
5ba5555
Compare
5ba5555 to
6155d88
Compare
6155d88 to
122d025
Compare
122d025 to
243237d
Compare
243237d to
f699951
Compare
f699951 to
22f0fb0
Compare
22f0fb0 to
9321c31
Compare
6be7db1 to
7d0246d
Compare
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
make all)make docs)