Skip to content

Yet another Keycloak redirect issue #507

Discussion options

You must be logged in to vote

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:

base.svc.and {
  reverse_proxy 10.0.1.30:9230 {
    header_down "Access-Control-Allow-Origin key.svc.and"
  }
}

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 …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Lissy93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants