Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

fix: disable self signed jwt if users provide their own credential #86

Merged
merged 5 commits into from Aug 31, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -427,7 +427,8 @@ def __init__(
client_cert_source_for_mtls=client_cert_source_func,
quota_project_id=client_options.quota_project_id,
client_info=client_info,
always_use_jwt_access=(
always_use_jwt_access=not credentials
and (
Transport == type(self).get_transport_class("grpc")
or Transport == type(self).get_transport_class("grpc_asyncio")
),
Expand Down