You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
Is there a way to know which one? Because the policy only has 1 requirement, and when placing breakpoints, it succeeds:
context.Succeed(requirement);
Some more interesting info:
For each request, the requirement is called twice (and succeeds twice).
Sometimes it does work. For now I'm unable to point out why. If i just call the API multiple times, sometimes it returns a result sometimes it doesn't. ( http://prntscr.com/bbr4y7 ). Even when it does, the requirement is still called twice. (Ignore the 404's. It's the cookie middleware thats trying to redirect to the login page. Still trying to disable this behaviour).
Almost certainly i'm doing something wrong, but i've been searching for days with no luck.
In my project, i'm using custom implementations of userstore, passworsstore, etc ... . And a custom class as "User".
In a API controller that has the policy as authorization, the code is executed and succees. However, my logs show me the following message:
What is the DefaultAuthorizationService and why is it being called?
The text was updated successfully, but these errors were encountered: