diff --git a/pyproject.toml b/pyproject.toml index 19dd764..62bee28 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "aieng-platform-onboard" -version = "0.3.0" +version = "0.3.1" description = "CLI tool for onboarding participants to AI Engineering bootcamps" readme = "README.md" authors = [{name = "Vector AI Engineering", email = "ai_engineering@vectorinstitute.ai"}] diff --git a/src/aieng_platform_onboard/utils.py b/src/aieng_platform_onboard/utils.py index 64b2565..fda4cf9 100644 --- a/src/aieng_platform_onboard/utils.py +++ b/src/aieng_platform_onboard/utils.py @@ -119,7 +119,12 @@ def fetch_token_from_service( # noqa: PLR0911 # User credentials or other - use gcloud try: result = subprocess.run( - ["gcloud", "auth", "print-identity-token"], + [ + "gcloud", + "auth", + "print-identity-token", + f"--audiences={token_service_url}", + ], check=False, capture_output=True, text=True, diff --git a/uv.lock b/uv.lock index c0d92bf..9135659 100644 --- a/uv.lock +++ b/uv.lock @@ -9,7 +9,7 @@ resolution-markers = [ [[package]] name = "aieng-platform-onboard" -version = "0.3.0" +version = "0.3.1" source = { editable = "." } dependencies = [ { name = "firebase-admin" },