Cannot Restrict my Google API key to my Repl.it
I recently made a project using the Google Developers API
and hosted it on Repl.it
. However, when I try to restrict my Google API key to my Repl.it url, it blocks access completely.
I have a feeling this issue has to do with Repl.it; does anyone know how to fix this?
Try to go the the shell of the repl and type printenv REPL_ID
then go to <INSERT REPL ID RETURNED BY THE PREVIOUS command>.id.repl.co
. Confirm that works then put that on the whitelist for the url
@EpicGamer007 I tried that, but it does not work for some reason
Is there some way to see all the domains that requested API data on the Google Developers
console so maybe I can make sure I am using the right domain?
what url did you set it on google and what is the URL of the repl?
@Leo32345 do you have solution for now?
Any answers yet?