Madan Shekar

Madan Shekar

  • 228
  • 8.3k
  • 1.2m

Cookie issue .Net core and Angular web app

Apr 30 2020 12:23 AM
Hello everyone,
 
we are reading the cookie at the client-side, (angular js ) and in the server-side we are using an attribute anti-forgery token attribute in controller level (.Net core).
 
In case if I made a cookie as httponly in the sense all POST method API's are failing.
 
Please let me know how to fix this issue or what is the root cause (off course I am aware of if I made httponly true in the sense I cannot read the cookie value in client side)
 
Thanks
Madan  S B 
 

Answers (9)