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 environment.
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 Javascript origin http://subdomain.domain.com Authorized redirect uris http://subdomain.domain.com/signin-google
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?