Skip to content

Conversation

ytnk531
Copy link

@ytnk531 ytnk531 commented Jul 31, 2025

Updated the method call to pass the auth scopes as an array inside the options hash, instead of directly as the scope argument. This ensures that authentication is configured correctly, per the expected interface: https://github.com/googleapis/google-auth-library-ruby/blob/googleauth/v1.14.0/lib/googleauth/application_default.rb#L53

Currently, due to this bug, the scopes are not passed correctly to GCECredentials. As a result, authentication from VM instances fails, preventing the use of Vertex AI.
Merging this PR will fix this critical issue.

…ault

Updated the method call to pass the auth scopes as an array inside the `options` hash, instead of directly as the `scope` argument. This ensures that authentication is configured correctly, per the expected interface:
https://github.com/googleapis/google-auth-library-ruby/blob/googleauth/v1.14.0/lib/googleauth/application_default.rb#L53
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

Successfully merging this pull request may close these issues.

1 participant