Anti-forgery token issue (MVC 5)

前端 未结 7 1854
长发绾君心
长发绾君心 2020-12-07 09:15

I am having an issue with the anti-forgery token :( I have created my own User class which worked fine but now I am getting an error whenever I go to the /Account/Re

7条回答
  •  爱一瞬间的悲伤
    2020-12-07 10:08

    AntiForgeryConfig.UniqueClaimTypeIdentifier = ClaimTypes.Email;
    

    works for my case i am using ADFS Authentication.

提交回复
热议问题