Add Rancher OAuth2/OIDC provider #6
Reference in New Issue
Block a user
Delete Branch "benvin/rancher-oidc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Extends Authentik SSO to Rancher (rancher.k8s.syd1.au.unkin.net) so cluster access uses Authentik identity + groups instead of local Rancher users. Part of the ongoing Authentik onboarding.
Change
config/providers_oauth2/rancher.yaml: confidential OAuth2 provider + application (slugrancher), openid/email/profile scopes, and the/verify-authredirect URI (Rancher's OIDC/Keycloak callback).kv/kubernetes/namespace/cattle-system/default/oauth-credentials(seeded out of band) — matches the grafana/argocd pattern.Validation
terragrunt run --all plan: 2 to add (provider + application), 0 to change.Follow-up
Rancher-side enablement (AuthConfig
oidc) is a separate step — Rancher needs a one-time verify-auth login to activate the provider. Tracked separately.