Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Google Authentication is requiring a registered domain on some test project

$
0
0

I have created asp.net mvc5 web project, I have enabled GoogleAuthtication by un-commenting the following inside the Startup.Auth.CS:-

app.UseGoogleAuthentication();

now I have create a project on the following environment:-

  1. Visual studio 2012 professional.
  2. Asp.net mvc5 web application.
  3. Running on windows server 2008 R2.

And the Google authntication works well on my test project runs locally http://localhost:53357.

Yesterday I wanted to test the new Visual Studio 2013, so I download Visual Studio 2013 express on my windows 7 machine,, and I created a new asp.net mvc5 web project. But when I try to test the Google authentication I got the following error on google page:-

 

400. That’s an error.

 

OpenID auth request contains an unregistered domain: http://localhost:53682

 

Learn more

That’s all we know.

So why google authentication works well on certain projects and fail to work on other?

Please adivce


Viewing all articles
Browse latest Browse all 3509


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>