GithubHelp home page GithubHelp logo

Comments (4)

chingor13 avatar chingor13 commented on July 18, 2024

Sorry for the delay in getting to this.

After further review, this looks like a legit bug - BigQuery is using the older generated clients (com.google.apis:google-api-services-bigquery) and it's not supplying an audience id for the request when requesting getRequestMetadata() from the credentials.

from google-auth-library-java.

elharo avatar elharo commented on July 18, 2024

So is the bug here or in BigQuery? Do we need to upgrade BigQuery to the latest auth library? Or fix its calls? Or both?

from google-auth-library-java.

chingor13 avatar chingor13 commented on July 18, 2024

Finally, getting back to this issue - it has 2 parts:

First, is the exception which seems to be a bug and is addressed in #223 - the request initializer is trying to build a token before the request's URI is set. We can delay fetching the token until right before the request is executed using an HttpRequestInterceptor.

Second, is that this use case won't work as the BigQuery API does not allow for signed JWTs - it requires an OAuth 2.0 token so the ServiceAccountJWTCredentials cannot be used against it.

from google-auth-library-java.

sduskis avatar sduskis commented on July 18, 2024

It sounds like there's nothing actionable on this issue in the google-auth-library-java repo. Please contact the BigQuery team for support or a feature request (https://cloud.google.com/bigquery/support) for the signed JWT credentials support.

from google-auth-library-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.