Question
Sopra Steria
NL
Last activity: 5 Aug 2024 8:54 EDT
How to use the CSRF referrer setting Allowed referrers
Hi, I need some help with configuring the CSRF on our application. For our application we need to set the samesite cookie attribute on strict. This is due to security guidelines. As a consequence of this change I am not able to refer to our application from a wiki page. When I enter our application URL in the browser the (SAML) login screen is loaded. When I refer to our application from the wiki page I get redirected to another place due to my application configuration.
According to the documentation (https://docs-previous.pega.com/security/86/understanding-cross-site-request-forgery) I found this is because the wiki I come from is not configured as an allowed referrer.
However when I configure the wiki page as allowed referrer it still does not work(See screenshot). I am using the value taken from the HTTP request headers referer value.
Am I doing something wrong?
Hi, I need some help with configuring the CSRF on our application. For our application we need to set the samesite cookie attribute on strict. This is due to security guidelines. As a consequence of this change I am not able to refer to our application from a wiki page. When I enter our application URL in the browser the (SAML) login screen is loaded. When I refer to our application from the wiki page I get redirected to another place due to my application configuration.
According to the documentation (https://docs-previous.pega.com/security/86/understanding-cross-site-request-forgery) I found this is because the wiki I come from is not configured as an allowed referrer.
However when I configure the wiki page as allowed referrer it still does not work(See screenshot). I am using the value taken from the HTTP request headers referer value.
Am I doing something wrong?