Skip to content

Commit 739cb88

Browse files
wwuckTakashi Matsuo
and
Takashi Matsuo
authored
Decode the token before printing to output (#4342)
Fixes #4340 Co-authored-by: Takashi Matsuo <[email protected]>
1 parent b239bb3 commit 739cb88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

endpoints/bookstore-grpc/jwt_token_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ def generate_jwt(service_account_file, issuer, audiences):
6868
args = parser.parse_args()
6969

7070
signed_jwt = generate_jwt(args.file, args.issuer, args.audiences)
71-
print(signed_jwt)
71+
print(signed_jwt.decode('utf-8'))

0 commit comments

Comments
 (0)