Open gratus-acuitymd opened 1 year ago
Also why are secrets being stored in a configmap? Per the documentation https://argo-cd.readthedocs.io/en/stable/operator-manual/user-management/google/#configure-dex
@rojspencer-e3 there is a way around that: https://argo-cd.readthedocs.io/en/release-2.0/operator-manual/user-management/#sensitive-data-and-sso-client-secrets
You can use the argocd-secret to store any sensitive data. ArgoCD knows to check the keys under data in the argocd-secret secret for a corresponding key whenever a value in a configmap starts with $. This can be used to store things such as your clientSecret
Checklist:
argocd version
.Describe the bug
We've set up Google SSO with Dex by adding the following to the configmap:
After login, we just keep ending up at the login screen.
I found this StackOverflow question and followed the advice and scaled down to 1 replica. The login started working. As a test I scaled back up to 3 replicas, and it stopped working again.
To Reproduce
Set up google sso using a config similar to the above
Set up HA with more than 1 replica
Attempt to login using SSO
Notice how you are always redirected back to the login
Scale down to 1 replica
And notice how it starts working again
Expected behavior
We should be able to have SSO and HA.
Screenshots
Version v2.8.0+804d4b8
Logs