googleapis / nodejs-web-risk

This repository is deprecated. All of its content and history has been moved to googleapis/google-cloud-node.
https://cloud.google.com/web-risk/
Apache License 2.0
18 stars 10 forks source link

API keys no longer supported? #344

Closed mindofmar closed 2 years ago

mindofmar commented 2 years ago

I was testing the web risk API back in July and was able to get 200 responses using an API key. I just tried it again and I'm getting a 401 error. It says "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project."

I've spent hours trying to debug this, are API keys no longer supported? and if so, why is there no clear documentation on that??

Also how are we supposed to use this with another hosting provider such as Heroku without API key access?

mindofmar commented 2 years ago

Sorry, not sure what happened here as it is now working again