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

GCP OAuth2 auth method failed through Java SDK when trying to build a Docker image in local #1800

Open
silviaherf opened this issue Feb 22, 2024 · 0 comments

Comments

@silviaherf
Copy link

silviaherf commented Feb 22, 2024

Hey team,

I am getting this error

,"severity":"ERROR","stack_trace":"java.io.IOException: Unable to fetch ID token provider. This is expected when running the SDK locally with end-user credentials

when trying to build a DockerImage from local using Java 17. The point is that the Singleton decorator from the library is forcing this authentication in GCP even when I am stating a config key not to authenticate in Pubsub for the deployments of my service.

Could you add a feature not to override the server configuration on this authentication step?

Thanks!

@silviaherf silviaherf changed the title GCP OAuth2 auth method failed through Java SDK when trying to build a Docker image GCP OAuth2 auth method failed through Java SDK when trying to build a Docker image in local tests Feb 22, 2024
@silviaherf silviaherf changed the title GCP OAuth2 auth method failed through Java SDK when trying to build a Docker image in local tests GCP OAuth2 auth method failed through Java SDK when trying to build a Docker image in local Feb 22, 2024
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