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

How do you configure SSO with an OIDC provider directly?

IntermediateConceptAppProjects, RBAC & SSO
Answer

In argocd-cm:

url: https://argocd.example.com
oidc.config: |
  name: Okta
  issuer: https://example.okta.com/oauth2/default
  clientID: 0oa1abcd
  clientSecret: $oidc.okta.clientSecret
  requestedScopes: ["openid", "profile", "email", "groups"]

The $oidc.okta.clientSecret reference reads a key from argocd-secret. Register https://argocd.example.com/auth/callback as the redirect URI in the IdP, and make sure the groups claim is included.

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

More on AppProjects, RBAC & SSO