Authorization is the process of determining if the user should have access to a specific resource. The [AllowAnonymous] attribute disables authentication such that web will skip authentication adn authorization during an access request to a controller decorated with this attribute or to a specific action method decorated with this attribute.
Source code link : https://gitlab.com/faisalcse1/onlineshop
#Identity #IdentityFramework #Core #MVC #CoreMVC #IdentityRole #Role #RoleManager #Authorization #AllowAnonymous