Request: Argo CD documentation

See original GitHub issue

Describe your question/ I use Authentik for many different services and I’m very impressed with the software. However, I have not managed to get it working with Argo CD. If I could get some guidance on this I would happily update the documentation with a guide for Argo CD.

Relevant infos I deploy argo-cd with a helm chart and I use these OIDC credentials. I have created a provider and an application, similarly to how I’ve done it before with Grafana/Harbor… The redirect url I use in Authentik is https://argo-cd.mydomain.com/auth/callback.

server:
  config:
    oidc.config: |
      name: Authentik
      issuer: https://authentik.mydomain.com/application/o/argo-cd/
      clientID: someclientid
      clientSecret: someclientsecret
      requestedIDTokenClaims:
        groups:
          essential: true
      requestedScopes:
        - openid
        - profile
        - email

Steps to reproduce:

  1. Go to your argo-cd web app url which in my case is https://argo-cd.mydomain.com/
  2. Press the “Login via Authentik” button.
  3. You get redirected to this domain https://argo-cd.mydomain.com/auth/login?return_url=https%3A%2F%2Fargo-cd.mydomain.com%2Fapplications
  4. You get this output:
Invalid redirect URL: the protocol and host (including port) must match and the path must be within allowed URLs if provided

I have also tried to add the supplied return_url as a redirect url in authentik, but it makes no difference.

Logs I cannot find any relevant logs.

Version and Deployment (please complete the following information):

  • authentik helm chart version: 5.2.3
  • authentik version: 2021.12.5
  • Deployment: helm

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
fwmarcelcommented, Sep 22, 2022

hello @Unyxos ,

Even if your documentation is not published, I have already followed it.

I have the problem, when I click login via authentik I land on

Failed to query provider “argocd.company/api/dex”: 400 Bad Request: 400 Bad Request

Can you help me further? thanks a lot

0reactions
fwmarcelcommented, Oct 1, 2022

hi @Unyxos thanks for your config. I do not see any differences from my configuration. Neither in Authentik nor in ArgoCD. i have already restarted the server. but without success 😐

Read more comments on GitHub >

github_iconTop Results From Across the Web

Argo CD - Read the Docs
Argo CD follows the GitOps pattern of using Git repositories as the source of truth for defining the desired application state. Kubernetes manifests...
Read more >
Argo CD
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo UI. Why Argo CD? Application definitions, configurations, and environments should ...
Read more >
Understanding Argo CD: Kubernetes GitOps Made Simple
What Is Argo CD? · Manual or automatic deployment of applications to a Kubernetes cluster. · Automatic synchronization of application state to the...
Read more >
Argo CD - Declarative continuous deployment for Kubernetes.
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.
Read more >
ArgoCD Quickstart - Platform9 Docs
To access ArgoCD, log into your PMK SaaS Management Plane UI. Next, click on the “Applications” menu in the top-left corner of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found