Google OIDC - Certificate signed by unknown authority #22191
Labels
bug
Something isn't working
component:cli
Affects the Argo CD CLI
component:oidc
component:sso
Issues related to Argo CD configurations
Checklist:
argocd version
.Describe the bug
I followed the doc here to setup Google SSO on my ArgoCD.
When I click on "Login with Google", I get to the Google authentification page, login, and then return to Argo. I see for less than a second the Argo interface, as if I were logged in, but immediately after that I return to the login page.
In the Argo CD Server logs, I get an error which informs me that the token verification failed.
I tried with the CLI (by running
argocd login argocd.MYDOMAIN --sso
). I got my browser opening, and all seems to go well (I get a message saying that the authentication did well), and I'm effectively logged in (I can run commands on my ArgoCD instance).To Reproduce
My Argo CD infra is in a Kubernetes cluster. A Traefik ingress serves the requests and generates certificates with Let's Encrypt.
When connecting to https://argocd.MYDOMAIN/api/dex/.well-known/openid-configuration, the certificate is right (cert for argocd.MYDOMAIN, issued by Let's Encrypt and valid) and I can see the configuration in my browser.
IngressRoute
configargocd-cm
argocd-cmd-params-cm
(I tried all commented options)argocd-rbac-cm
Expected behavior
I should be able to get access to the Argo CD interface.
Version
Logs
Here is the same, but with line breaks for readability
The text was updated successfully, but these errors were encountered: