on adding samesite cookie in headers the content page is autoredirecting to login page | Community
Skip to main content
Level 2
January 7, 2021
Solved

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

  • January 7, 2021
  • 2 replies
  • 1283 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by shivama92274331

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

2 replies

arunpatidar
Community Advisor
Community Advisor
January 7, 2021
shivama92274331AuthorAccepted solution
Level 2
January 15, 2021

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