-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
State Cookie Not Found (mod_auth_openidc) #85
Comments
Further information:
As I can gather, this is often done as a means of deleting the cookie. Not sure why these cookies have been deleted, but that's probably causing the error. Anyone know why this might happen? |
Thinking about it, it's possible this is from a previous browser session so maybe this is expected behaviour. Could be a red herring. |
Hello,
I'm facing a strange issue with OIDC. After what appears to be a successful authentication against the OIDC provider, I end up in a redirect loop, resulting in the browser throwing a 'too many redirects' error. In the apache logs, I can see this loop repeating:
I have confirmed that this only occurs after successful authorisation of the user - if they do not have the correct claims in their JWT they land on the correct 'permission denied' page, accompanied with a log, which is to be expected:
It appears that this is a problem with the way mod_auth_openidc is used, in particular it appears that the state cookie is not able to be found (is it deleted too early for some reason?), or there is some problem with redirects after a successful authentication.
Anyone know why this could be happening?
My relevant config:
In docker-compose.yml:
In misp.conf:
The OIDCCookie settings are suspect to me due to the error message, but I've tried changing them and not had any luck so far.
Note I have also made the changes described in this comment to use the groups claim rather than roles.
The text was updated successfully, but these errors were encountered: