How SSO & login work
Explanation. One login (Authentik + MFA) for everything — apps,
kubectl, even email. This page is the map of how that works; each row links to the detail.
Who this is for: anyone who wants the "how does login work here?" picture before diving into the per-topic pages.
One identity provider, three ways in
All access flows through Authentik (the identity provider). How an app plugs in depends on whether it speaks OIDC itself:
| You access… | How it authenticates | Detail |
|---|---|---|
| An app that speaks OIDC (ArgoCD, Grafana, Backstage…) | the app redirects you to Authentik → you log in (+MFA) → it gets a token back | SSO with Authentik |
| An app with no login of its own | the ingress checks with Authentik before the app sees the request (forward-auth) | SSO with Authentik · Public access |
kubectl (the cluster API) | kubelogin gets an OIDC token from Authentik; the k3s API server validates it (JWKS) | kubectl OIDC access |
| Email (Stalwart) | the same credential, federated via an Authentik LDAP outpost | Mail ↔ Authentik LDAP |
Whatever the path, it's one credential + MFA. Identity is the perimeter — the platform is BYOD / zero-trust, so every app is SSO-gated rather than trusting the network.
Who decides what you can do
Two distinct roles — don't conflate them:
- System of Record (who may access what) = the ktayl-iam catalog — the authoritative
role → groupmodel. - Policy Enforcement Point (who enforces it) = Authentik — it checks your groups at login via the OIDC
groupsclaim / forward-auth.
The per-tool map of who can reach and do what is the Platform Access Matrix.
Two identity layers
Workforce identity (staff → Authentik) and customer identity (end-users → a separate IdP) are different problems, solved separately — see the two-layer identity model.
Kubernetes specifics
How the OIDC token reaches the k3s API, MFA enforcement, and human-vs-workload identity: IAM hardening · RBAC audit.
Related
- SSO with Authentik — the foundational "how it works"
- Platform Access Matrix — who may reach what
- Glossary: IdP · OIDC · forward-auth · PEP · SoR