Repository navigation
|
I'm working on embedding Keycloak into a Other disclaimer: my apologies, I know this is a lot of text. If you want to TL;DR it, you could go down the bottom section where I describe the error. I've Googled a bunch, and ChatGPT's been pretty helpful as a debugging partner but it can only take you so far. OpenRestyI'm using OpenResty to handle routing/SSL for my application.
NGINX ConfigurationHere is my nginx.conf. You'll notice a lot of Here are what I think are the relevant bits of my nginx.conf:
Keycloak configuration
"We are sorry... Page not found"
What's happening?
This is where I'm sort of at a loss about where to go from here. My gut tells me it's something to do with some combination of the I do sort of have a question about
Because of the "the If you made it this far, thanks. I know this was a lot of detail: I'm trying to be thorough so that someone who knows what they're doing has all the info they need to say, "Right there, dummy, that's your problem," for which I would be most grateful. |
Replies: 1 comment 2 replies
|
A helpful person in the keycloak slack channel suggested the issue might be the value I'm giving for I tried replacing request to the redirect_uri path but there's no session state found So I will try to chase that down, assuming I'm a step closer now rather than a step further away (trading one error for another). |
I was able to get this working. In case anybody else is having the same problem, here are the things I did:
redirect_uriin the opts send to oidc.authenticate to the URI on my app that I wanted it to redirect to (the documentation for that still confuses me)proxy_cookie_flags * samesite=none secure;It does seem to be wor…