Skip to content

Commit

Permalink
Pass verify flag to all authenticators (#1641)
Browse files Browse the repository at this point in the history
Signed-off-by: byhsu <[email protected]>
  • Loading branch information
ByronHsu authored and eapolinario committed Jul 10, 2023
1 parent 5c4142a commit 7e9067a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions flytekit/clients/auth/token_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ def get_token(
proxies = {"https": http_proxy_url, "http": http_proxy_url} if http_proxy_url else None
response = requests.post(token_endpoint, data=body, headers=headers, proxies=proxies, verify=verify)

proxies = {"https": http_proxy_url, "http": http_proxy_url} if http_proxy_url else None
response = requests.post(token_endpoint, data=body, headers=headers, proxies=proxies)

if not response.ok:
j = response.json()
if "error" in j:
Expand Down

0 comments on commit 7e9067a

Please sign in to comment.