Difference between revisions of "SameSite"
|Line 3:||Line 3:|
Revision as of 11:38, 8 May 2021
Full Title or Meme
SameSite is an attribute in HTTP that is applied to the Cookie header.
- New HTTP headers are focus on Cross-Origin iFrames which complicates the terms sites and origins which is future explained on that wiki page.
- In particular Apple introduced a restriction on SameSite cookies that caused common implementations of OAuth 2.0 and OpenID Connect to fail. Brock Allen has decoded that issue on his site The basic problem with OAuth front channel Authentication is determining which site is the SameSite. So, while the authentication works, the redirect to the client code is not considered, by iOS 12, to be a same-site operation. Even in the case a refresh of the client site will work and be fully authenticated, because it is not a redirect, but a SameSite operation.
- Brock Allen, Same-site cookies, ASP.NET Core, and external authentication providers. (2019-01-11) https://brockallen.com/2019/01/11/same-site-cookies-asp-net-core-and-external-authentication-providers/