Chrome “SameSite” settings, dotnet core 3.1 and IdentityServer 4

After Chrome released “SameSite” setting change caused IdentityServer 4 cookies not being sent to the client and the redirect to fails. Then with the help of the links below it turns out that we need to change the “SameSite” setting for the cookies.

Simply need to add the class from the 2nd link to your project and add the changes in the 3rd link so that it includes ChromeVersion 80+ then the cookies will be sent and everything work as expected.

Add a Comment