question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cookies - Add support for SameSite attribute

See original GitHub issue

Since .Net Framework 4.7.2 adds support for the SameSite attribute OWIN should support it too. I believe implementing it in the Microsoft.Owin.ResponseCookieCollection and CookieManager should be straightforward. But don’t know whether it’s possible to set it in the SystemWebCookieManager, without compiling to .Net 4.7.2.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
maximeliancommented, Oct 11, 2019

Good question. Didn’t find how I can do it in code. Any suggestions? I am using Owin CookieAuthenticationExtensions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SameSite cookie attribute - Teams
You can opt out of adding the SameSite cookie attribute to the SetCookie header or add it with one of two settings, Lax...
Read more >
SameSite Cookie Attribute Changes
You can add SameSite cookie attributes in the set-cookie HTTP response header to restricts browser behavior. It may prevent the browser from sending...
Read more >
SameSite cookies explained - web.dev
Introducing the SameSite attribute on a cookie provides three different ways to control this behaviour. You can choose to not specify the ...
Read more >
'SameSite' cookie attribute | Can I use... Support tables for ...
'SameSite' cookie attribute ... Same-site cookies ("First-Party-Only" or "First-Party") allow servers to mitigate the risk of CSRF and information leakage attacks ...
Read more >
Set-Cookie - HTTP - MDN Web Docs
Means that the browser sends the cookie only for same-site requests, that is, requests originating from the same site that set the cookie....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found