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
Configure ArgoCD to use Keycloak for Authentication.
Serve Keycloak from behind a Cloudflare tunnel.
Cloudflare returns a 302 response
ArgoCD does not follow the redirect and instead gives the following error in the browser
Failed to query provider "https://authtr.soxprox.com/realms/task-repository-testing": oidc: failed to decode provider discovery object: expected Content-Type = application/json, got "text/html": invalid character '<' looking for beginning of value
Expected behavior
ArgoCD should follow the redirect
ArgoCD should either automatically follow the redirect or there should be an option in the Config Map where the user can allow redirects to be followed.
Argo CD passes a go http client to go-oidc. As far as I can tell, we set no special redirect logic, and it looks like the default behavior of the go http client is to follow redirects. I'm not sure what's going wrong here.
Describe the bug
ArgoCD does not follow redirects when using SSO.
To Reproduce
Expected behavior
ArgoCD should follow the redirect
ArgoCD should either automatically follow the redirect or there should be an option in the Config Map where the user can allow redirects to be followed.
Screenshots
Version
Logs
response from curl to the Keycloak endpont
The text was updated successfully, but these errors were encountered: