Replies: 2 comments 7 replies
-
it looks like some parallelism is going on and it appears that your app is not a plain static HTML app? It would be interesting to see what (2) incoming requests are leading to this behaviour since I'm guessing that the "code" is delivered twice to the module. |
Beta Was this translation helpful? Give feedback.
7 replies
-
this is fixed in 2.4.9.5rc5 e77cf94 thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been trying to work on replacing mod_auth_mellon (SAML) with mod_auth_openidc with AzureAD. I've got the latest release installed 2.4.9.4-1~focal+1 which did not change behavior from 2.4.1.
The symptom I am seeing is that the auth is randomly failing.
What I see in the log is:
"error_description":"AADSTS54005: OAuth2 Authorization code was already redeemed, please retry with a new valid code or use an existing refresh token. ...<snip>..."
When I turned up debug log in apache, what I'm seeing is:
Any suggestions here?
It looks like I MIGHT be able to make the problem go away by not having two top level protected paths on the server - but that isn't ideal.
Right now, I've got a /oidc/ path with nothing in it other than the redirect_uri, and another path, call it /protected/ that has actual content. On some instances (not yet configured), I may have /protected1/, /protected2/, etc. -- but the important thing is that the entire server or top level prefix is not always protected, only some paths on the server.
It also makes it much more of a pain from a documentation standpoint if I don't set aside that /oidc/ path since then I have to have different configured redirect_uri prefixes for different apps.
Beta Was this translation helpful? Give feedback.
All reactions