Skip to content
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

FIX missing state in openid connect #29788

Merged

Conversation

FlorentPoinsaut
Copy link
Contributor

FIX missing state in OpenId Connect

If two users log in at the same time via OpenID Connect, one may recover the session from the other and vice versa. This is due to the fact that there is no discrimination that determines who made the request for authentication.

The usual discriminant is normally a parameter passed to the first call and verified during the response that is called state. It is also recommended here: https://openid.net/specs/openid-connect-core-1-0.html-rfc.section.3.1.2.1

@FlorentPoinsaut FlorentPoinsaut force-pushed the fix-missing-state-in-openid-connect branch from f53a8dc to 9bb5a6f Compare May 30, 2024 10:01
@eldy eldy merged commit f4a0b56 into Dolibarr:develop Jun 4, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants