Repository navigation
website/docs: expand hardening docs - #25200
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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #25200 +/- ##
=======================================
Coverage 91.62% 91.62%
=======================================
Files 1151 1151
Lines 73251 73251
Branches 3917 3917
=======================================
+ Hits 67114 67118 +4
+ Misses 6101 6097 -4
Partials 36 36
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-dda79975df9608b942604f09076e338aba0f1c38
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-dda79975df9608b942604f09076e338aba0f1c38Afterwards, run the upgrade commands from the latest release notes. |
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
|
||
| ## Restricting configuration changes | ||
|
|
||
| Expressions, blueprints, and CAPTCHA stages let a highly privileged user change how authentik behaves. By default they are limited to superusers and users with the relevant permissions, and all changes are logged. To remove the ability entirely, block the corresponding API endpoints in front of authentik, for example at your [reverse proxy](../install-config/reverse-proxy.md). |
There was a problem hiding this comment.
Why highlight "CAPTCHA stages" specifically?
There was a problem hiding this comment.
because it has a subsection below and is (afaik) the only stage that allows loading third-party JS code. But we could improve the wording, any suggestions?
There was a problem hiding this comment.
CAPTCHA doesn't go with expressions and blueprints in the context of configuration changes. We can add a different line that mentions that CAPTCHA allows loading third-party JS code, although I'm not sure that it's required.
| authentik's default Password policy complies with the [NIST SP 800-63 Digital Identity Guidelines](https://pages.nist.gov/800-63-4/sp800-63b.html#password). | ||
| authentik's shipped password policy is a reasonable baseline: an 8-character minimum plus a zxcvbn strength check. Two changes bring it in line with the [NIST SP 800-63 Digital Identity Guidelines](https://pages.nist.gov/800-63-4/sp800-63b.html#password): | ||
|
|
||
| - Set the minimum password length to 15 characters. NIST allows 8 characters only where the password is one factor of MFA, and the shipped flow skips [MFA validation](../add-secure-apps/flows-stages/stages/authenticator_validate/index.md) for users with no authenticator enrolled. If MFA is mandatory in your deployment, 8 characters remains sufficient. |
There was a problem hiding this comment.
Since the default authentication flow has one required factor, I think we should change the default password policy to 15 characters minimum.
Co-authored-by: Simonyi Gergő <[email protected]> Signed-off-by: Marcelo Elizeche Landó <[email protected]>
Signed-off-by: Dewi Roberts <[email protected]>
|
|
…26.8) (#25567) Cherry-pick #25200 to version-2026.8 (with conflicts) This cherry-pick has conflicts that need manual resolution. Original PR: #25200 Original commit: 8890ee2 Co-authored-by: Marcelo Elizeche Landó <[email protected]>
Expand hardening docs
Checklist
make all)make docs)