From 67ed89fd3e48d2eb6fedf406963ddaab30f05fa3 Mon Sep 17 00:00:00 2001 From: Andreas Olsson Date: Sun, 31 Mar 2024 11:05:18 +0200 Subject: [PATCH] WIP: different order --- vault_oidc_ssh_cert_action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault_oidc_ssh_cert_action.py b/vault_oidc_ssh_cert_action.py index 61a4c3f..dd5fd9a 100644 --- a/vault_oidc_ssh_cert_action.py +++ b/vault_oidc_ssh_cert_action.py @@ -27,8 +27,8 @@ def _determine_audience(input_audience: str, vault_server: str) -> str: def _issue_github_jwt(jwt_aud: str) -> str: - req_token = os.environ["ACTIONS_ID_TOKEN_REQUEST_TOKEN"] req_url = os.environ["ACTIONS_ID_TOKEN_REQUEST_URL"] + req_token = os.environ["ACTIONS_ID_TOKEN_REQUEST_TOKEN"] full_url = f"{req_url}&audience={jwt_aud}" headers = {"Authorization": f"Bearer {req_token}"}