Aspnetboilerplate: Unauthorized Request

Created on 10 Nov 2018  ·  3Comments  ·  Source: aspnetboilerplate/aspnetboilerplate

I login with host user but when I try to call any authorized api then its returning 401 but permission is already given to the user.

How this 2nd level and third level permission are working. I added a permission on service then on function also but when i try to access function its now allowing me to access but permission is granted to the user.

how to fix this.

Most helpful comment

What do you mean by "multi-level". Have you read the documentation: https://aspnetboilerplate.com/Pages/Documents/Authorization
Please share your code instead of waiting an example (that is already present in the documentation).

All 3 comments

You mean permission system is not working completely? Are you sure? Is it working for a new create template (for the built-in permissions)?

It's working for a new template but I just add some more permission to the use in levels after that it was not working maybe I'm missing something.
Can you please explain me with an example that How this permission for multi-level is working

What do you mean by "multi-level". Have you read the documentation: https://aspnetboilerplate.com/Pages/Documents/Authorization
Please share your code instead of waiting an example (that is already present in the documentation).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sylfree9999 picture sylfree9999  ·  3Comments

Gardens18 picture Gardens18  ·  3Comments

apchenjun picture apchenjun  ·  3Comments

hikalkan picture hikalkan  ·  3Comments

Mehranh picture Mehranh  ·  3Comments