Madan Shekar

Madan Shekar

  • 228
  • 8.3k
  • 1.2m

XSRF or CSRF with Angular and Dot Net Core Web API

May 20 2020 1:16 AM
Hi team,
 
We are using angular js and .net core technologies.
 
application is breaking if I set the httponly attribute true.
 
context.Response.Cookies.Append("XSRF-TOKEN", tokens.RequestToken, new CookieOptions() { HttpOnly = true});