Why MVC 5 Owin Oauth is not hitting /Account/ExternalLoginCallback action

前端 未结 5 524
孤街浪徒
孤街浪徒 2021-01-12 08:31

I am new to MVC 5 authentication. Currently I tried Google Authorization using Owin The code in startup.Auth.cs

var googleOAuth2Authenticati         


        
5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-12 09:21

    Try the same code but change the CallbackPath to /umbraco/surface/UmbracoIdentityAccount/LinkLoginCallback and register it in the Authorized redirect URIs in your app.

提交回复
热议问题