You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Environment details
google-authversion: 2.26.2Steps to reproduce
google-authgoogle.oauth2.id_tokenmoduleHi folks,
it looks like
google.oauth2.id_tokenhas an import time dependency ofgoogle.auth.transport.requestshttps://github.com/googleapis/google-auth-library-python/blob/main/google/oauth2/id_token.py#L65
which requires a
requestspackagehttps://github.com/googleapis/google-auth-library-python/blob/main/google/auth/transport/requests.py#L25
that's not defined as a
google-authdependency.https://github.com/googleapis/google-auth-library-python/blob/main/setup.py#L22
The call to
google.auth.transport.requestsis only made once in https://github.com/googleapis/google-auth-library-python/blob/main/google/oauth2/id_token.py#L285 so the possible solution will be to move the import to runtime.