Authorize keyword for restrict access to actions and controllers doesn't work in .Net Core 2 RRS feed

  • Question

  • Hello

    Please help me!

    I searched a lot in MSDN documents and other websites but didn't get any answer to my problem. So, When I use [Authorize] on top of each controller or action in ASP.Net Core 2.1 or above, individually it works but when I determine a special role (for example: [Authorize(Roles ="Admin")] ) it never works and no one can access the controller or action!

    Please tell me is that my fault or ".Net Core 2" has bug ?!


    • Moved by CoolDadTx Monday, November 12, 2018 2:27 PM ASP.NET related
    Monday, November 12, 2018 11:45 AM

All replies

  • ASP.NET Core can be discussed at the ASP.NET forums that has a Core forum. 


    Monday, November 12, 2018 12:32 PM