Yet another Keycloak redirect issue #507
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Am starting to have nightmares about Keycloak!! So based on your Caddy config, I think the issue is with the wildcard in your proxy. For requests that transport sensitive info like credentials, setting the accept header to a wildcard ( So the solution should be something like this:
But it's weird that this was working previously, and now isn't. I've not made any changes that could affect auth for a couple of weeks, and Keycloak is pretty stable, so I think it's most likely the proxy thing. For more info, see: Troubleshooting → Keycloak Redirect Error |
Beta Was this translation helpful? Give feedback.
Am starting to have nightmares about Keycloak!!
So based on your Caddy config, I think the issue is with the wildcard in your proxy. For requests that transport sensitive info like credentials, setting the accept header to a wildcard (
*
) is not allowed - see MDN Docs.So the solution should be something like this:
But it's weird that this was working previously, and now isn't. I've not made any changes that could affect auth for a couple of weeks, and Keycloak is pretty stable, so I think it's most likely the proxy thing.
For more info, see: Troubleshooting → Keycloak Redirect …