We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5780513 commit 7938d48Copy full SHA for 7938d48
google/cloud/aiplatform/preview/vertex_ray/util/_validation_utils.py
@@ -103,7 +103,9 @@ def valid_dashboard_address(address):
103
104
def get_bearer_token():
105
"""Get bearer token through Application Default Credentials."""
106
- creds, _ = google.auth.default()
+ creds, _ = google.auth.default(
107
+ scopes=["https://www.googleapis.com/auth/cloud-platform"]
108
+ )
109
110
# creds.valid is False, and creds.token is None
111
# Need to refresh credentials to populate those
0 commit comments