Login to your ArgoCD using OIDC and Azure.

Configure a new Azure AD App registration

Add a new Azure AD App registration

  1. From the Azure Active Directory > App registrations menu, choose + New registration
  2. Enter a Name for the application (e.g. โ€œargocdโ€ ).
  3. Specify who can use the application (e.g. Accounts in this organizational directory only).
  4. Enter Redirect URI (optional) as follows (replacing my-argo-cd-url with your Argo URL), then choose Add.
  • Platform: Web
  • Redirect URI: https://<my-argo-cd-url>/auth/callback

5. When registration finishes, the Azure portal displays the app registration's Overview pane. You see the Application (client) ID.

Configure additional platform settings for ArgoCD CLI

  1. In the Azure portal, in App registrations, select your application.
  2. Under Manage, select Authentication.
  3. Under Platform configurations, select Add a platform.
  4. Under Configure platforms, select the "Mobile and desktop applications" .

Use the below value. You shouldn't change it.

  • Redirect URI: http://localhost:8085/auth/callback

Add credentials a new Azure AD App registrationยถ

  1. From the Certificates & secrets menu, choose + New client secret
  2. Enter a Name for the secret (e.g. ArgoCD-SSO).
  • Make sure to copy and save generated value. This is a value for the client_secret.

Setup permissions for Azure ADโ€ฆ