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

When using ADC with BigQuery DataSources, the Test Connection behaves strangely #7332

Open
as-cyrill opened this issue Feb 17, 2025 · 0 comments

Comments

@as-cyrill
Copy link

Issue Summary

Move from oauth2client to google-auth / support ADC #6422

The above Pull Request supports Application Default Credentials (ADC), but when trying to access BigQuery using Workloads Identity, an incorrect message is displayed during the Test Connection.

Steps to Reproduce

  1. To use ADC, set the environment variable GOOGLE_APPLICATION_CREDENTIALS.
  2. Set the Name and Project ID.
  3. Press the TEST Connection button.

Expected Behavior

Connection Test Success

Actual Behavior

Connection Test Failed:
Service account info was not in the expected format, missing fields token_uri, client_email.

It seems that the Test Connection checks the format of the service account JSON file and verifies the existence of token_uri and client_email. However, when using ADC, these keys do not exist, causing the test to fail even though the connection actually succeeds.

Technical details:

  • Redash Version: 25.1.0
  • Browser/OS: Any
  • How did you install Redash: Container on EKS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant