What is the role of Dex, and when would you skip it?
IntermediateConceptArgo CD Architecture & Internals
Answer
Dex is an OIDC broker bundled with Argo CD. It lets Argo CD log users in through providers that are not OIDC themselves (GitHub OAuth, LDAP, SAML) and normalizes groups claims. If your IdP already speaks OIDC (Okta, Entra ID, Keycloak, Google), configure oidc.config in argocd-cm directly and disable Dex: one fewer component and a direct token flow.
More on Argo CD Architecture & Internals
What are the main components of Argo CD?BeginnerWhat does the argocd-repo-server do, and what does it not do?BeginnerWhat does the application controller do on each reconcile?IntermediateWhat is stored in Redis, and what happens if Redis is lost?IntermediateWhy is the application controller a StatefulSet rather than a Deployment?AdvancedWhere does Argo CD keep its configuration?Beginner