Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google sign in website Error : Permission denied to generate login hint for target domain

I am trying to integrate Google login in my website ..

I am following this example: https://developers.google.com/identity/sign-in/web/

I generated client id for my project and replaced it in above code, I keep getting this error:

  1. That’s an error.

Error: invalid_request

Permission denied to generate login hint for target domain.

like image 905
CKS Avatar asked Aug 17 '15 00:08

CKS


1 Answers

I ran into this issue while doing local development. Make sure when running your project locally that you launch "http://localhost" rather than "http://127.0.0.1", "http://0.0.0.0", etc...

like image 78
kevinstueber Avatar answered Sep 20 '22 19:09

kevinstueber