diff --git a/encode_jwt.py b/encode_jwt.py index a77dcc1..b2e7e51 100644 --- a/encode_jwt.py +++ b/encode_jwt.py @@ -68,8 +68,10 @@ "Accept": "application/vnd.github+json" } +print(jwt_token) + # Make the request to the GitHub Enterprise API to get the installation access token -url = f"{args.enterprise_url}/api/v3/app/installations/{args.installation_id}/access_tokens" +url = f"{args.enterprise_url}api/v3/app/installations/{args.installation_id}/access_tokens" response = requests.post(url, headers=headers) # Check if the request was successful