Last post Aug 31, 2017 05:12 AM by Edward Z
Aug 30, 2017 01:19 AM|kaunain|LINK
I am using google authentication in asp.net mvc 1.1.2 in vs 2015. i set it up following the documentation and
successfully set it up. running with minor glitches in localhost. my site finally was deployed on subdomain for testing eg. subdomain.domain.com. here the problems started i was not able to authenticate with google button. it was working fine in the localhost
Do I need some special configuration for domain hosting? Do Add domain means in developer console needs to be activated when going to domain?
The two url i configured are
Authorized redirect uris
it is giving multiple errors. the first error it is giving is
1) the subdomain.domain.com cannot be found
2) After i give google email and password it goes to checkcookie then redirected to http://subdomain.domain.com/Account/ExternalLoginCallback?ReturnUrl=%2F,
but it needs to be directed to ExternalLoginConfirmation
What might be the problem? Do i need some cookie configuration in startup.cs . i don't know how to proceed now?
Aug 31, 2017 05:12 AM|Edward Z|LINK
Do you configure this on Google developer site? Is it only the subdomain or contains the computer name?
When you access this URL in web browser? Will it show correctly?
In my option, it should be http://computername.computerdomain. I suggest you check the full computer name of the computer and then make a test with it.