Interview Prep/GitOps & Argo CD/AppProjects, RBAC & SSO

What is the `scopes` setting in `argocd-rbac-cm`?

IntermediateConceptAppProjects, RBAC & SSO
Answer

It lists which OIDC token claims are used as subjects for g lines, by default [groups]. Set scopes: "[groups, email]" to map individual emails to roles. If your IdP sends groups under a different claim, you either map it in the IdP or in Dex, or add that claim name to scopes. When group-based RBAC "does not work", wrong scopes or a missing groups claim is the usual cause.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on AppProjects, RBAC & SSO