Use auth before or after UseMultiTenant when using claims strat #1000
Unanswered
VictorioBerra
asked this question in
Q&A
Replies: 1 comment 1 reply
|
The claims strategy will still get the claim by front loading some of the behavior that authentication will use later. It caches it and the auth will reuse it rather than reprocess the cookie. Check out the bottom of the strategy implementation, you can see where it's trigger the authentication handler to get the claim. |
1 reply
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.
From the docs:
I don't understand. If I don't put it after, I get no claims, because no auth.
Why would the docs say most cases useauth after usemulti?
All reactions