Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1514

Migrate entirely to HTTPS to allow cookies to be set by same-site subresources

$
0
0

Migrate entirely to HTTPS to allow cookies to be set by same-site subresourcesA cookie was not set by an insecure origin in a secure context. Because this cookie would have been set across schemes on the same site, it was blocked. This behavior enhances the SameSite attribute’s protection of user data from request forgery by network attackers.Resolve this issue by migrating your site (as defined by the eTLD+1) entirely to HTTPS. It is also recommended to mark the cookie with the Secure attribute if that is not already the case.

I added in my .net core webapi in startup class

services.ConfigureApplicationCookie(options =>            {                options.Cookie.SameSite = SameSiteMode.None;            });

but I still have such error. How can I update my angular 13 app from http to https?

enter image description here


Viewing all articles
Browse latest Browse all 1514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>