Skip to content

Commit 0aabcaa

Browse files
committed
Minor cleanup in IAP auth example
1 parent eecf5c4 commit 0aabcaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iap/request_using_metadata_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ def signByteString(byteString, service_account):
9999
}
100100
)
101101
response = request.execute()
102-
103102
signature = response['signature']
103+
104104
signature = signature.replace('+', '-').replace('/', '_')
105105
signature = signature.replace('=', '')
106106
signature = signature.encode()

0 commit comments

Comments
 (0)