Madan Shekar

Madan Shekar

  • 284
  • 7.2k
  • 182.1k

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});
 
 

Brought to you by: