Why MVC 5 Owin Oauth is not hitting /Account/ExternalLoginCallback action
问题 I am new to MVC 5 authentication. Currently I tried Google Authorization using Owin The code in startup.Auth.cs var googleOAuth2AuthenticationOptions = new GoogleOAuth2AuthenticationOptions { ClientId = "Client-id", ClientSecret = "secret-key", CallbackPath = new PathString("/Account/ExternalLoginCallback"), Provider = new GoogleOAuth2AuthenticationProvider() { OnAuthenticated = async context => { context.Identity.AddClaim(new Claim("picture", context.User.GetValue("picture").ToString()));