Answers for "the given origin is not allowed for the given client id"

1

google sign in The given origin is not allowed for the given client ID.

Add both http://localhost and http://localhost:port_number to the 
Authorized JavaScript origins box for local tests or development.
Posted by: Guest on August-22-2021
0

https://console.developers.google.com/ and whitelist this origin for your project's client ID.

if you are testing locally, use http://localhost:8080 (or whatever port you are using) for both whitlisting at https://console.developers.google.com/apis/credentials and on your browser (not http://127.0.0.1:8080) .this worked for me
Posted by: Guest on June-01-2020

Code answers related to "the given origin is not allowed for the given client id"

Browse Popular Code Answers by Language