Skip to content
Permalink
Browse files
fix: disable self signed jwt if users provide their own credential (#86)
* 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 committed Aug 31, 2021
1 parent 1751701 commit d7c07f8d579ce55ea86520e6a7b7a268befae92d
Showing with 2 additions and 1 deletion.
  1. +2 βˆ’1 google/cloud/channel_v1/services/cloud_channel_service/client.py
@@ -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")
),

0 comments on commit d7c07f8

Please sign in to comment.