Replies: 1 comment 6 replies
-
@davidfowl, your answer would be much appreciated ;-) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In
PolicyEvaluator
class principal is built from all specified schemes.Whereas direct call to
HttpContext.AuthenticateAsync
has no effect. Authentication middleware setsUser
only for the default scheme.Should not it be the responsibility of
AuthenticationService
, and should not it be the same as in policy evaluator?I'd expect, that every call to
Authenticate
extends (or replaces for the same scheme?) context's user with the new principal same wayPolicyEvaluator
does.Beta Was this translation helpful? Give feedback.
All reactions