Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions google/oauth2/id_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
id_info = id_token.verify_oauth2_token(
token, request, 'my-client-id.example.com')

if id_info['iss'] != 'https://accounts.google.com':
raise ValueError('Wrong issuer.')

userid = id_info['sub']

By default, this will re-fetch certificates for each verification. Because
Expand Down