I have used Kentico's code from External authentication on MVC sites. ExternalLoginInfo loginInfo = await AuthenticationManager.GetExternalLoginInfoAsync(); code is always return null.