question

JoaoGabrielDeOliveira-3543 avatar image
0 Votes"
JoaoGabrielDeOliveira-3543 asked ChaitanyaNaykodiMSFT-9638 answered

How to resolve the “Cookie Without SameSite Attribute” on Azure Front Door

Hi

I have enabled the Session Affinity on Azure Front door but when I navigate the website on Chrome it shows me the following error:

"This Set-Cookie header didn't specify a 'SameSite' attribute and was defaulted to 'SameSite=Lax', and was blocked because it came from a cross-site response which was not the response to a top-level navigation. The Set-Cookie had to have been set with 'SameSite=None' to enable cross-site usage."


How can I configure this attribute on Azure Front Door?

Thanks

azure-front-door
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ChaitanyaNaykodiMSFT-9638 avatar image
0 Votes"
ChaitanyaNaykodiMSFT-9638 answered

Hello @JoaoGabrielDeOliveira-3543, thank you for reaching out. When you enable Session Affinity on Azure Front door, two cookies are added ASLBSACORS and ASLBSA respectively. If the traffic is going over HTTPS, ASLBSACORS should contain SameSite attribute with its value as None. Can you please validate the values of these cookies? It will also be helpful if you could provide more information on the backend setup. Thank you!



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.