question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support BigQuery oauth credentials

See original GitHub issue

Currently BigQuery can only be authorized through a service account, which adds significant overhead to setting up a BQ project.

It should be possible to provide oauth credentials when executing against BigQuery.

  • During init-creds add an option to use OAuth for BigQuery projects

  • Send the user to the oauth connection page with a callback to localhost:someport

  • Spin up a small server to handle the oauth callback

  • Write the oauth credentials to the .df-credentials.json file

  • Create a Dataform OAuth client ID

  • Support OAuth credentials in the BigQuery adapter and extend the credentials proto to store this

  • Implement the new init-creds flow above

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
thinhhacommented, Mar 7, 2021

more details on how DBT did this here: https://github.com/fishtown-analytics/dbt/issues/2672

0reactions
jamiektcommented, Feb 25, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Authorizing API requests | BigQuery - Google Cloud
Authorizing API requests ... The BigQuery API uses OAuth 2.0 access tokens or JSON Web Tokens (JWTs) to authorize requests. These tokens grant...
Read more >
A Complete Guide for Google BigQuery Authentication Tutorial
Learn how to connect to Google BigQuery from our favorite SQL/BI/ETL tools ... Go to Credentials tab, click on Create Credentials, choose OAuth...
Read more >
Authorizing Access to the Google BigQuery API using OAuth 2.0
The BigQuery API requires all requests to be authorized by an authenticated user or a service account. This guide describes how to authorize...
Read more >
Set up BigQuery OAuth - dbt Developer Hub
dbt Cloud supports developer OAuth with BigQuery, providing an additional layer of security for dbt enterprise users. When BigQuery OAuth is ...
Read more >
Setting up OAuth 2.0 - Google Cloud Platform Console Help
To use OAuth 2.0 in your application, you need an OAuth 2.0 client ID, which your application uses when requesting an OAuth 2.0...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found