-
Notifications
You must be signed in to change notification settings - Fork 112
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
LG-7434: Allow cross origin for POST OIDC Logout #10697
Merged
lmgeorge
merged 9 commits into
main
from
lmgeorge/LG-7434-add-support-for-post-oidc-logout-requests
May 30, 2024
Merged
LG-7434: Allow cross origin for POST OIDC Logout #10697
lmgeorge
merged 9 commits into
main
from
lmgeorge/LG-7434-add-support-for-post-oidc-logout-requests
May 30, 2024
Commits on May 29, 2024
-
LG-7434: Allow cross origin for POST OIDC Logout
**Why**: - It is expected that requests will be made by relying parties on external domains - The specification for OpenID Connect RP-Initiated Logout 1.0 requires both HTTP `GET` and `POST` methods to be supported. See: https://openid.net/specs/openid-connect-rpinitiated-1_0.html#RPLogout - Data sent using the `POST` method remains encrypted during transport in the browser and in web application logs, preventing leakage of sensitive information **How**: - The same endpoint shall be used, `/openid_connect/logout`, but the request data must be sent as part of the body and use form serialization as required for HTTP `POST` requests (RFC 9110, sec. 9.3.3). - Disables Rail's CSRF token verification for the POST route only resolves https://gitlab.login.gov/lg-people/lg-people-appdev/protocols/openid-connect/-/issues/3 changelog: Bug Fixes, Security, Fix CORS stopping POST for OIDC RP-Initiated Logout 1.0
Configuration menu - View commit details
-
Copy full SHA for f1f17a1 - Browse repository at this point
Copy the full SHA f1f17a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f4f15d - Browse repository at this point
Copy the full SHA 5f4f15dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c816232 - Browse repository at this point
Copy the full SHA c816232View commit details -
Configuration menu - View commit details
-
Copy full SHA for db3a8c1 - Browse repository at this point
Copy the full SHA db3a8c1View commit details -
PR!10697 feedback: redirect from POST to GET to prevent browser ERR_C…
…ACHE_MISS on navigation
Configuration menu - View commit details
-
Copy full SHA for 9d68447 - Browse repository at this point
Copy the full SHA 9d68447View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7973510 - Browse repository at this point
Copy the full SHA 7973510View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fb6004 - Browse repository at this point
Copy the full SHA 9fb6004View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7f2e4b - Browse repository at this point
Copy the full SHA e7f2e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1844136 - Browse repository at this point
Copy the full SHA 1844136View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.