❔ .net Identity 401 => Roles/Claims available
Hey, I keep getting 401 with the following bearer in Swagger (authorized)
I have created a controller for the role "Admin" and a controller for the policy "user.read" but both return me 401. Anyone an idea what the problem might be?
I am using a custom policy "creator" that is creating a policy in the format "user.read" => user = ClaimType/read = ClaimValue
15 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Yea, I know that - but thanks anyway. It is good to remind someone of it
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Hastebin: Send and Save Text or Code Snippets for Free | Toptal®
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Pastebin
This site has been acquired by Toptal(Attention! API endpoint has c...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Is the pastebin link working?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Thanks for your time
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I have no clue why but it seems that I am having no claims for some reason
And I am not even authenticated
Got it working
Thanks for your time
Just as information - seems like Swagger wasn't properly configured from me
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.