Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authorized JavaScript origins not working localhost

Authorized JavaScript origins not working while Create client ID. i am trying to integrate google login from in my html page .. my localhost path is http://localhost/charts/ .. while adding http://localhost/charts/ to Authorized JavaScript origins files textbox showing error like this:Origin URIs must not contain a path or end with "/": http://localhost/charts/.. if any one can help me... here i am sending error screenshot

like image 603
Shiva Reddy Avatar asked Dec 12 '25 04:12

Shiva Reddy


2 Answers

Try this will work http://localhost

hope this will helps you.

like image 169
Sunil Dora Avatar answered Dec 14 '25 01:12

Sunil Dora


Please try removing /charts from the URL

http://localhost
like image 38
wuno Avatar answered Dec 14 '25 00:12

wuno



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!