Skip to content

Fix Content Security Policy errors when redirecting to service provider#8063

Merged
mitchellhenke merged 2 commits intomainfrom
mitchellhenke/secure-headers-in-rules-of-use
Mar 23, 2023
Merged

Fix Content Security Policy errors when redirecting to service provider#8063
mitchellhenke merged 2 commits intomainfrom
mitchellhenke/secure-headers-in-rules-of-use

Conversation

@mitchellhenke
Copy link
Contributor

@mitchellhenke mitchellhenke commented Mar 23, 2023

🛠 Summary of changes

Bug reported here where a user received a CSP error because we redirect back to the relying party in the chain of redirects from the Rules of Use submission request.

This adds the SP domain headers to the response to avoid this error case.

@mitchellhenke mitchellhenke marked this pull request as ready for review March 23, 2023 19:44
Mitchell Henke added 2 commits March 23, 2023 16:27
changelog: Bug Fixes, Authentication, Fix Content Security Policy errors when redirecting to service provider
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/secure-headers-in-rules-of-use branch from 8699ece to 75b73b6 Compare March 23, 2023 21:27
@mitchellhenke mitchellhenke merged commit fb439d8 into main Mar 23, 2023
@mitchellhenke mitchellhenke deleted the mitchellhenke/secure-headers-in-rules-of-use branch March 23, 2023 23:45
mitchellhenke pushed a commit that referenced this pull request Mar 24, 2023
…er (#8063)

* Fix Content Security Policy errors when redirecting to service provider

changelog: Bug Fixes, Authentication, Fix Content Security Policy errors when redirecting to service provider

* add failing spec
@aduth aduth mentioned this pull request Mar 27, 2023
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