Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

on adding samesite cookie in headers the content page is autoredirecting to login page

Avatar

Level 2

Hi All,

On adding below configuration “samesite cookie”  in vhost file under headers section , we are getting the issue the page is auto redirecting to the login page which is hosted on Magento after around 20 seconds.

 

<IfModule mod_headers.c>

               

              Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure;SameSite=None

</IfModule>

 

Apache version: 2.4

 

Any leads for this.

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 2

I have fixed it now, the HttpOnly attribute in header was redirecting it to the login page.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

I have fixed it now, the HttpOnly attribute in header was redirecting it to the login page.