You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When Enabling dex for OIDC, ArgoCD server can't talk to dex server because of the certificate is not valid.
time="2024-12-03T16:41:29Z" level=warning msg="Failed to verify token: failed to verify token: token verification failed for all audiences: error for aud \"argo-cd\": Failed to query provider \"https://argocd.domain.com/api/dex\": Get \"https://argocd-dex-server.argocd.svc.cluster.local:5556/api/dex/.well-known/openid-configuration\": tls: failed to verify certificate: x509: certificate is valid for localhost, dexserver, not argocd-dex-server.argocd.svc.cluster.local, error for aud \"argo-cd-cli\": Failed to query provider \"https://argocd.domain.com/api/dex\": Get \"https://argocd-dex-server.argocd.svc.cluster.local:5556/api/dex/.well-known/openid-configuration\": tls: failed to verify certificate: x509: certificate is valid for localhost, dexserver, not argocd-dex-server.argocd.svc.cluster.local"
To Reproduce
Install dex with the operator using oidc configuration
add extraArgs on server --dex-server-plaintext to view the error
Expected behavior
Expect argocd server to be able to talk to dex server deploy by the operator. Also the operator seems to force https in code.
Describe the bug
When Enabling dex for OIDC, ArgoCD server can't talk to dex server because of the certificate is not valid.
To Reproduce
Install dex with the operator using oidc configuration
add extraArgs on server
--dex-server-plaintext
to view the errorExpected behavior
Expect argocd server to be able to talk to dex server deploy by the operator. Also the operator seems to force https in code.
argocd-operator/controllers/argocd/deployment.go
Line 354 in 0ca1920
The text was updated successfully, but these errors were encountered: