GetExternalLoginInfo is coming back null in OWIN

Ok so this was pretty frustrating because because there are a few solutions at the following locations but both were wrong for me (they might help you) –

http://forums.asp.net/t/1948844.aspx?OWIN+GetExternalLoginInfoAsync+Allways+returns+null

http://stackoverflow.com/questions/23742086/getexternallogininfoasync-null-with-owin-in-externallogincallback-unless-already

The problem I was facing was solved by enabling the Google+ API in the Google dashboard as I was having this problem when using Google OAuth. You can find the details here –

http://blogs.msdn.com/b/webdev/archive/2014/07/02/changes-to-google-oauth-2-0-and-updates-in-google-middleware-for-3-0-0-rc-release.aspx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s