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

Avatar

Avatar
Give Back
Level 2
shivama92274331
Level 2

Likes

4 likes

Total Posts

18 posts

Correct reply

2 solutions
Top badges earned
Give Back
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Give Back
Level 2
shivama92274331
Level 2

Likes

4 likes

Total Posts

18 posts

Correct reply

2 solutions
Top badges earned
Give Back
Boost 3
Boost 1
Affirm 1
View profile
shivama92274331
Level 2

07-01-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back
Level 2
shivama92274331
Level 2

Likes

4 likes

Total Posts

18 posts

Correct reply

2 solutions
Top badges earned
Give Back
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Give Back
Level 2
shivama92274331
Level 2

Likes

4 likes

Total Posts

18 posts

Correct reply

2 solutions
Top badges earned
Give Back
Boost 3
Boost 1
Affirm 1
View profile
shivama92274331
Level 2

15-01-2021

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

Answers (1)

Answers (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,444 likes

Total Posts

3,327 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,444 likes

Total Posts

3,327 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

07-01-2021