Integrate Google (Gmail) Authentication in Asp.Net MVC 5.0 - OAuth 2.0

I will try to use Google Authentication by referring to the method listed above.

You have successfully generated and entered the client ID and password.

However, when I run, I get an error message that says, " localhost has denied connection. "

Can not connect to site

localhost so I can not connect to

Attempt :

Check connection

Check Proxy and Firewall


How can I fix the following errors? Get back to me.