You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Content-Security-Policy and X-Frame-Options headers set in jetty-rewrite.xml conflict with single logout. At a minimum the PropagateLogout url need to be excluded from having these headers configured or SLO will fail. I just removed the jetty-rewrite.xml file from the image and rebuilt and was able to successfully test SLO under our deployment.
I think the IdP now has functionality to set these headers itself so I don't think this should be done here anymroe.
The text was updated successfully, but these errors were encountered:
# HSTS/CSP response headers
#idp.hsts = max-age=0
# X-Frame-Options value, set to DENY or SAMEORIGIN to block framing`
#idp.frameoptions = DENY
# Content-Security-Policy value, set to match X-Frame-Options default
#idp.csp = frame-ancestors 'none';
I didn't have these options in my idp.properties but they exist in the idp.properties for new installs.
I'm not sure which release this was added to and haven't tried uncommenting the options and looking at http headers so I can't confirm yet. There was a discussion in the shibboleth users mailing list about this and that they are not set in the logout urls because of the use of iframes in SLO.
I'll do a few more tests and then create a PR if I see the header appearing when uncommented in the configuration.
The Content-Security-Policy and X-Frame-Options headers set in jetty-rewrite.xml conflict with single logout. At a minimum the PropagateLogout url need to be excluded from having these headers configured or SLO will fail. I just removed the jetty-rewrite.xml file from the image and rebuilt and was able to successfully test SLO under our deployment.
I think the IdP now has functionality to set these headers itself so I don't think this should be done here anymroe.
The text was updated successfully, but these errors were encountered: