Base solution for your next web application
Open Closed

EXTERNAL SOCIAL LOGIN - CANNOT LOGIN WITH GOOGLE ACCOUNT #3848


User avatar
0
VuCA created

Hi,

I try external social login with google account but loginInfo always return null from GetExternalLoginInfoAsync function. I think facebook account is fired the same error but I did not try

var loginInfo = await _authenticationManager.GetExternalLoginInfoAsync();

I use ASP.NET MVC 5.x & jQuery v4.1.0.0, please help me!

Thanks!


1 Answer(s)
  • User Avatar
    0
    strix20 created

    This is probably a silly question, but did you enable the google+ api when you set up your google account? (it is disabled by default) This is the thing that's caused me to experience logininfo being null.