Pages

Custom Search

SameSite Cookie trouble for PeopleSoft Users

 Update ISS as follows:


Open C:\Program Files\Common Files\Hexagon\Services\Instances\Yourportalsite\web.config in Notepad.

Locate section <system.webServer>

And paste following code:


<outboundRules>

      <clear />

      <rule name="Add SameSite" preCondition="No SameSite">

        <match serverVariable="RESPONSE_Set_Cookie" pattern=".*" negate="false" />

        <action type="Rewrite" value="{R:0}; SameSite=None; Secure" />

      </rule>

      <preConditions>

        <preCondition name="No SameSite">

          <add input="{RESPONSE_Set_Cookie}" pattern="." />

          <add input="{RESPONSE_Set_Cookie}" pattern="; SameSite=None; Secure" negate="true" />

        </preCondition>

      </preConditions>

    </outboundRules>

Note: you can also add an iRule in load balancer, it is very similar to the web config change above, basically modifying the cookie to have samesite=none; secure