Anti-forgery token issues
Try setting (in global.cs): AntiForgeryConfig.UniqueClaimTypeIdentifier = ClaimTypes.NameIdentifier;
Try setting (in global.cs): AntiForgeryConfig.UniqueClaimTypeIdentifier = ClaimTypes.NameIdentifier;
@Marnix has a pretty good answer, but to step away from the technical aspect of it: Claims Based Authentication is about defining who you trust to give you accurate information about identity, and only ever using that information provided. My (the) go-to example is at a bar. Imagine for a moment that you want to … Read more
I will try to explain the Role/Claim/Permission-based Access Control concept in layman’s terms. The code snippet I will present here, are pseudocode, may or may not compile. What are Roles? Roles can be thought of as Job Titles. Like “Sales Manager”, “Marketing Manager”, “Admin” etc. What are the claims? Claims can be broader than a … Read more