Skip to content

Commit 5471171

Browse files
nownabedaniel-sanche
authored andcommitted
Use issuer as subject (GoogleCloudPlatform#1343)
End Points: Use issuer as subject
1 parent 8e53070 commit 5471171

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
@@ -48,7 +48,7 @@ def generate_jwt(service_account_file, issuer, audiences):
4848
# swagger spec. It can be any string.
4949
'iss': issuer,
5050
# sub and email are mapped to the user id and email respectively.
51-
'sub': '12345678',
51+
'sub': issuer,
5252
'email': '[email protected]'
5353
}
5454

0 commit comments

Comments
 (0)