Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use OAuth to authenticate to bigquery #7

Closed
mikeyoungyoung opened this issue Jun 25, 2021 · 5 comments · Fixed by #875
Closed

Use OAuth to authenticate to bigquery #7

mikeyoungyoung opened this issue Jun 25, 2021 · 5 comments · Fixed by #875
Labels
connectors Database connectors customer request An Evidence customer has requested this

Comments

@mikeyoungyoung
Copy link

It would be great to use OAuth to authenticate to BQ. You could expand the user base that way without having to rely on someones ability to create a service account

Details

@mcrascal mcrascal added connectors Database connectors enhancement labels Aug 3, 2021
@zachrenwick
Copy link

I support this! I was going to try out evidence on some work data, but the lack of OAuth authentication means I'm blocked- not allowed to use service account credentials.

Seems like business/data analysts are key customer persona of evidence, and they will usually not have access to BigQuery service account keys needed to connect to the database.

@hughess hughess added the customer request An Evidence customer has requested this label Feb 19, 2023
@dbrtly
Copy link

dbrtly commented Mar 18, 2023

I'm deleting service-account.json files at my employer. I look silly if I suggest adding one to be able to use evidence.

@dbrtly
Copy link

dbrtly commented Mar 18, 2023

I would anticipate a similar setup to how we use dbt on localhost:

  • install and initialise gcloud cli
  • configure app to use oauth

That's it.

@mcrascal
Copy link
Member

mcrascal commented May 8, 2023

Taking a look at this one.

Acceptance criteria as we understand it here:

  1. A user who is setting up the connection from the local development environment can use this OAuth method
  2. We have affordances for gcp expiring the token in development, and re-requesting authorization during development
  3. We have documentation on how to set this up in local development, including reference to tutorial material for setting this up
  4. We have documentation on how to set environment variables for deployment targets, given you've taken this approach in local development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connectors Database connectors customer request An Evidence customer has requested this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants