Skip to content

website/docs: improve service account docs - #22145

Merged
dewi-tik merged 3 commits into
mainfrom
sdko/docs-service-accounts
Jun 5, 2026
Merged

dewi-tik merged 3 commits into
mainfrom
sdko/docs-service-accounts

Conversation

@dominic-r

Copy link
Copy Markdown
Member

Closes #18710

@dominic-r dominic-r self-assigned this May 8, 2026
@dominic-r dominic-r added the area:docs Features or issues related to Docusaurus label May 8, 2026
@netlify

netlify Bot commented May 8, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

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

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 5c01a59
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a21b22621a570000813a6c4
😎 Deploy Preview https://deploy-preview-22145--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 May 8, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #22145      +/-   ##
==========================================
- Coverage   93.29%   93.29%   -0.01%     
==========================================
  Files        1033     1033              
  Lines       60154    60154              
  Branches      400      400              
==========================================
- Hits        56122    56121       -1     
- Misses       4032     4033       +1     
Flag Coverage Δ
conformance 36.55% <ø> (+<0.01%) ⬆️
e2e 41.81% <ø> (+<0.01%) ⬆️
integration 33.00% <ø> (+<0.01%) ⬆️
rust 0.00% <ø> (ø)
unit 92.23% <ø> (-0.01%) ⬇️
unit-migrate 92.26% <ø> (-0.02%) ⬇️

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 marked this pull request as ready for review May 8, 2026 01:44
@dominic-r
dominic-r requested a review from a team as a code owner May 8, 2026 01:44
@github-actions

github-actions Bot commented May 8, 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-5c01a5903cff7c1d6fa46a10cf29a195bac0b0be
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-5c01a5903cff7c1d6fa46a10cf29a195bac0b0be

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

@tanberry

tanberry commented May 8, 2026

Copy link
Copy Markdown
Contributor

Leet's leave this as Draft for now... I already am working on the docs about creating a Service account (the labels have changed), so leet me get that merged for the release and then let's go back and pick out the goodness form this one that we still want to add.

@dominic-r
dominic-r marked this pull request as draft May 8, 2026 02:28
@dominic-r

Copy link
Copy Markdown
Member Author

Agree

@dewi-tik
dewi-tik marked this pull request as ready for review May 28, 2026 11:34

## How service accounts work

A user-created service account is an authentik user with the `Service account` type and an unusable password. Instead of a normal password, it authenticates with tokens:

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 user-created service account is an authentik user with the `Service account` type and an unusable password. Instead of a normal password, it authenticates with tokens:
A user-created service account is an authentik user of type `Service account` that authenticates using:


A user-created service account is an authentik user with the `Service account` type and an unusable password. Instead of a normal password, it authenticates with tokens:

- **App passwords** authenticate to flows and protocol clients that accept a username and password, such as LDAP bind clients. When you create a service account from **Directory** > **Users**, authentik creates an app password for the account and shows it once in the confirmation screen.

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
- **App passwords** authenticate to flows and protocol clients that accept a username and password, such as LDAP bind clients. When you create a service account from **Directory** > **Users**, authentik creates an app password for the account and shows it once in the confirmation screen.
- **App passwords**: Authenticate to flows and protocol clients that accept a username and password, such as LDAP bind clients. When you create a service account from **Directory** > **Users**, authentik creates an app password for the account and shows it once in the confirmation screen.

A user-created service account is an authentik user with the `Service account` type and an unusable password. Instead of a normal password, it authenticates with tokens:

- **App passwords** authenticate to flows and protocol clients that accept a username and password, such as LDAP bind clients. When you create a service account from **Directory** > **Users**, authentik creates an app password for the account and shows it once in the confirmation screen.
- **API tokens** authenticate to the authentik API with HTTP Bearer authentication. Use API tokens for scripts, CI/CD jobs, and other automation that calls `/api/v3/` endpoints.

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
- **API tokens** authenticate to the authentik API with HTTP Bearer authentication. Use API tokens for scripts, CI/CD jobs, and other automation that calls `/api/v3/` endpoints.
- **API tokens**: Authenticate to the authentik API with HTTP Bearer authentication. Use API tokens for scripts, CI/CD jobs, and other automation that calls `/api/v3/` endpoints.

5. Cannot have permissions assigned directly if they are internal service accounts.
6. Cannot change their own password or manage their own account settings.
7. Are subject to token expiration policies that differ from regular user accounts.
- They are intended for non-interactive use and cannot access the authentik user or Admin interfaces. If a service account authenticates in a browser, authentik redirects it to the brand's default application when one is configured; otherwise access to the interface is denied.

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
- They are intended for non-interactive use and cannot access the authentik user or Admin interfaces. If a service account authenticates in a browser, authentik redirects it to the brand's default application when one is configured; otherwise access to the interface is denied.
- They are intended for non-interactive use and cannot access the authentik user or Admin interfaces. If a service account authenticates in a browser, authentik redirects it to the brand’s default application when configured; otherwise, access to the interface is denied.

6. Cannot change their own password or manage their own account settings.
7. Are subject to token expiration policies that differ from regular user accounts.
- They are intended for non-interactive use and cannot access the authentik user or Admin interfaces. If a service account authenticates in a browser, authentik redirects it to the brand's default application when one is configured; otherwise access to the interface is denied.
- They do not have a usable account password. Use an app password or API token instead.

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
- They do not have a usable account password. Use an app password or API token instead.
- They do not have a usable account password. They instead use app passwords or API tokens.

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core May 28, 2026
@dominic-r
dominic-r requested a review from dewi-tik June 4, 2026 17:11
Merge the current main branch into the service account docs PR and resolve the docs conflict with the requested review wording.

Agent-thread: https://sdko.org/internal/threads/019e939d-4e6d-7f20-8f56-63e6f8e12374

A7k-product: product

A7k-product-repo: 1

Co-authored-by: Agent <[email protected]>
@dewi-tik dewi-tik added the backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 label Jun 5, 2026
@dewi-tik
dewi-tik merged commit 63ed60b into main Jun 5, 2026
112 checks passed
@dewi-tik
dewi-tik deleted the sdko/docs-service-accounts branch June 5, 2026 07:54
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jun 5, 2026
@authentik-automation

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.5 has conflicts: #22885

dominic-r added a commit that referenced this pull request Jul 1, 2026
…sion-2026.5) (#22885)

* Cherry-pick #22145 to version-2026.5 (with conflicts)

This cherry-pick has conflicts that need manual resolution.

Original PR: #22145
Original commit: 63ed60b

* website/docs: resolve service account conflict markers

Remove unresolved cherry-pick markers from the service account docs backport.

Agent-thread: https://sdko.org/internal/thr/ak/019ea7c2-e332-7321-9fee-d44f427b3f79
A7k-product: product
A7k-product-repo: 2
Co-authored-by: Agent <[email protected]>

---------

Co-authored-by: Dominic R <[email protected]>
Co-authored-by: Agent <[email protected]>
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 backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Improve service account docs

3 participants