You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tv...@apache.org on 2022/09/28 23:15:52 UTC

[beam] 01/01: Update auth.py

This is an automated email from the ASF dual-hosted git repository.

tvalentyn pushed a commit to branch tvalentyn-patch-1
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 9a36f53ad033988b4ba6f06abc7ac4ab37a3cfb9
Author: tvalentyn <tv...@users.noreply.github.com>
AuthorDate: Wed Sep 28 16:15:44 2022 -0700

    Update auth.py
    
    Include the GCP scope when creating a scoped credential token.
---
 sdks/python/apache_beam/internal/gcp/auth.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sdks/python/apache_beam/internal/gcp/auth.py b/sdks/python/apache_beam/internal/gcp/auth.py
index 27a3c40cd4b..57f210ac98c 100644
--- a/sdks/python/apache_beam/internal/gcp/auth.py
+++ b/sdks/python/apache_beam/internal/gcp/auth.py
@@ -45,6 +45,7 @@ executing_project = None
 _LOGGER = logging.getLogger(__name__)
 
 CLIENT_SCOPES = [
+    'https://www.googleapis.com/auth/cloud-platform',
     'https://www.googleapis.com/auth/bigquery',
     'https://www.googleapis.com/auth/cloud-platform',
     'https://www.googleapis.com/auth/devstorage.full_control',