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

How do you configure GitHub login through Dex?

IntermediateConceptAppProjects, RBAC & SSO
Answer
url: https://argocd.example.com
dex.config: |
  connectors:
    - type: github
      id: github
      name: GitHub
      config:
        clientID: $dex.github.clientID
        clientSecret: $dex.github.clientSecret
        orgs:
          - name: my-org

The OAuth app's callback is https://argocd.example.com/api/dex/callback. Groups arrive as my-org:team-slug, which you bind in argocd-rbac-cm.

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

More on AppProjects, RBAC & SSO