lquerel / gcp-bigquery-client

GCP BigQuery Client (Rust)
Apache License 2.0
92 stars 60 forks source link

feat: installed oauth #41

Closed kiibo382 closed 1 year ago

kiibo382 commented 1 year ago

close: #40

Abstract the Authenticator and add InstalledFlowAuthenticator.

kiibo382 commented 1 year ago

@lquerel The cargo test in CI is failing, but after setting the necessary environment variables locally and running the test, the cargo test succeeds.

Looking at the CI error message (↓) , it appears that there is a problem with the service account key. Could you please take a look at the service account key?

thread 'dataset::test::test' panicked at 'expecting a valid key: InvalidServiceAccountKey(Custom { kind: InvalidData, error: "Bad service account key: EOF while parsing a value at line 2 column 0" })', src/lib.rs:70:14
lquerel commented 1 year ago

Thanks for this generalization of the authenticator and the support of InstalledFlowAuthenticator. Give me a few days to approve these changes and see what is wrong with the account key service.