Update OIDC configuration in Headlamp documentation and Talos config to use preferred_username claim instead of email. Added troubleshooting steps for "Unauthorized" errors related to OIDC token validation.

This commit is contained in:
Nikholas Pcenicni
2026-05-14 19:15:47 -04:00
parent 817849ee3c
commit bb0bd4ca90
3 changed files with 13 additions and 2 deletions

View File

@@ -103,5 +103,6 @@ patches:
extraArgs:
oidc-issuer-url: https://auth.apps.noble.lab.pcenicni.dev/application/o/headlamp/
oidc-client-id: headlamp
oidc-username-claim: email
# Not "email": kube-apiserver rejects tokens when email_verified is false; Authentik often emits that.
oidc-username-claim: preferred_username
oidc-groups-claim: groups

View File

@@ -103,5 +103,6 @@ patches:
extraArgs:
oidc-issuer-url: https://auth.apps.noble.lab.pcenicni.dev/application/o/headlamp/
oidc-client-id: headlamp
oidc-username-claim: email
# Not "email": kube-apiserver rejects tokens when email_verified is false; Authentik often emits that.
oidc-username-claim: preferred_username
oidc-groups-claim: groups