'How to use Asp.net core Identity External OAuth Authentication when no user signed in?
I'm writing a project that uses Github OAuth, when the user chooses to log in via Github, it needs to create an account if the user doesn't have one.
But I noticed that the CreateTicketAsync method of OAuthHandler receives a ClaimsIdentity object, does this mean that external OAuth can only be added on users who are already logged in?
Is there any other way to achieve my needs?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
