You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by wa...@apache.org on 2026/04/16 14:50:22 UTC

(tooling-trusted-releases) 01/01: Update audience values in jwtoken.py

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

wave pushed a commit to branch set-jwt-oidc-audience
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git

commit 13c33e3bb6af0118639094e70ecf38a52787a819
Author: Dave Fisher <da...@comcast.net>
AuthorDate: Thu Apr 16 07:50:11 2026 -0700

    Update audience values in jwtoken.py
---
 atr/jwtoken.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/atr/jwtoken.py b/atr/jwtoken.py
index 4f0c84ac..8522df03 100644
--- a/atr/jwtoken.py
+++ b/atr/jwtoken.py
@@ -39,10 +39,10 @@ import atr.models.github as github
 import atr.util as util
 
 _ALGORITHM: Final[str] = "HS256"
-_ATR_JWT_AUDIENCE: Final[str] = "atr-api-pat-test-v1"
+_ATR_JWT_AUDIENCE: Final[str] = f"https://{config.get().APP_HOST}/"
 _ATR_JWT_ISSUER: Final[str] = f"https://{config.get().APP_HOST}/"
 _ATR_JWT_TTL: Final[int] = 30 * 60
-_GITHUB_OIDC_AUDIENCE: Final[str] = "atr-test-v1"
+_GITHUB_OIDC_AUDIENCE: Final[str] = f"https://{config.get().APP_HOST}/"
 _GITHUB_OIDC_EXPECTED: Final[dict[str, str]] = {
     "enterprise": "the-asf",
     "enterprise_id": "212555",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org