We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ce8406 commit f6a2981Copy full SHA for f6a2981
appengine/standard_python3/pubsub/main.py
@@ -85,12 +85,6 @@ def receive_messages_handler():
85
# case they would all share the same token for a limited time window.
86
claim = id_token.verify_oauth2_token(token, requests.Request(),
87
audience='example.com')
88
- # Must also verify the `iss` claim.
89
- if claim['iss'] not in [
90
- 'accounts.google.com',
91
- 'https://accounts.google.com'
92
- ]:
93
- raise ValueError('Wrong issuer.')
94
CLAIMS.append(claim)
95
except Exception as e:
96
return 'Invalid token: {}\n'.format(e), 400
0 commit comments