Trying to Authorize Access to Google BigQuery via API Key

google-bigquery, oauth-2.0

Solution

Google BigQuery does not support access via API key authorization. Instead, you should be using the OAuth flow that matches what you are trying to do with your application. See the BigQuery Authorization documentation here.

Problem

i try to access to BigQuery via the REST API from my webserver by this request for example: https://www.googleapis.com/bigquery/v2/projects/project%3Aid/queries?fields=rows&key={YOUR_API_KEY} As {YOUR_API_KEY} I use the API key for server apps from the Google API Console but I get a "401 Unauthorized" What's the right way to do this request from a server without user interaction for authentication?

Original source

Related problems