Skip to content

website/docs: expand hardening docs - #25200

Merged
melizeche merged 17 commits into
mainfrom
docs/hardening
Aug 27, 2026
Merged

melizeche merged 17 commits into
mainfrom
docs/hardening

Conversation

@melizeche

Copy link
Copy Markdown
Member

Expand hardening docs


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

@netlify

netlify Bot commented Aug 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit dda7997
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a8e97fa733ad30008bd4569
😎 Deploy Preview https://deploy-preview-25200--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 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit dda7997
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a8e97facbd6a40008e3e374
😎 Deploy Preview https://deploy-preview-25200--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 Aug 18, 2026 •

Copy link
Copy Markdown

Codecov Report

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

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           
Flag Coverage Δ
conformance 34.42% <ø> (+0.03%) ⬆️
e2e 39.08% <ø> (+<0.01%) ⬆️
integration 31.01% <ø> (+<0.01%) ⬆️
rust 40.41% <ø> (ø)
unit 93.22% <ø> (+<0.01%) ⬆️
unit-migrate 93.23% <ø> (+<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.

@github-actions

github-actions Bot commented Aug 18, 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-dda79975df9608b942604f09076e338aba0f1c38
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-dda79975df9608b942604f09076e338aba0f1c38

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

@netlify

netlify Bot commented Aug 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

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

@melizeche
melizeche marked this pull request as ready for review August 19, 2026 15:18
@melizeche
melizeche requested a review from a team as a code owner August 19, 2026 15:18

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why highlight "CAPTCHA stages" specifically?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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?

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.

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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since the default authentication flow has one required factor, I think we should change the default password policy to 15 characters minimum.

@melizeche
melizeche merged commit 8890ee2 into main Aug 27, 2026
144 checks passed
@melizeche
melizeche deleted the docs/hardening branch August 27, 2026 14:35
@melizeche melizeche added the backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 label Aug 28, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.8 has conflicts: #25567

melizeche added a commit that referenced this pull request Sep 14, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants