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

Commit

Permalink
fix: disable self signed jwt if users provide their own credential (#86)
Browse files Browse the repository at this point in the history
* fix: disable self signed jwt if credentials provided

* 馃 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 馃 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 馃 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
arithmetic1728 and gcf-owl-bot[bot] committed Aug 31, 2021
1 parent 1751701 commit d7c07f8
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit d7c07f8

Please sign in to comment.