diff options
| author | subh <subh@example.com> | 2026-02-13 12:57:07 +0530 |
|---|---|---|
| committer | subh <subh@example.com> | 2026-02-13 12:57:07 +0530 |
| commit | 5d059a6aa686c7dd224647b31d138e113a0c8527 (patch) | |
| tree | 147889b337aa7659d008496486ed9fa5723e67bd /signedjwt-privesc.py | |
| parent | 39a487c36f255e21f03d18d2d7be7d4670065085 (diff) | |
added the 'sub' field to the claim setmain
Diffstat (limited to 'signedjwt-privesc.py')
| -rw-r--r-- | signedjwt-privesc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/signedjwt-privesc.py b/signedjwt-privesc.py index 71eea49..7674211 100644 --- a/signedjwt-privesc.py +++ b/signedjwt-privesc.py @@ -19,6 +19,7 @@ def getJwt(service_account_email, token): now = int(datetime.now().timestamp()) payload = { "iss":service_account_email, + "sub":service_account_email, "scope":"https://www.googleapis.com/auth/cloud-platform", "aud":"https://oauth2.googleapis.com/token", "iat": now, |
