Skip to content
Discussion options

You must be logged in to vote

Right, so all schemes that implement IAuthenticationRequestHandler are given an opportunity to handle the request.

https://github.com/dotnet/aspnetcore/blob/master/src/Security/Authentication/Core/src/AuthenticationMiddleware.cs#L55

Then only the default scheme is explicitly called to Authenticate, which is not the same thing as HandleRequest, those are usually doing things like handling redirection flows for oauth/oidc and the like. While Authenticate is doing things like reading cookies or jwt tokens.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by blowdart
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants