Update visualizer_app.py
Browse files- visualizer_app.py +2 -1
visualizer_app.py
CHANGED
@@ -27,7 +27,8 @@ with app.setup:
|
|
27 |
return requests.post(
|
28 |
'https://iam.cloud.ibm.com/identity/token',
|
29 |
headers={'Content-Type': 'application/x-www-form-urlencoded'},
|
30 |
-
data={'grant_type': 'urn:ibm:params:oauth:grant-type:apikey', 'apikey': api_key}
|
|
|
31 |
).json()['access_token']
|
32 |
|
33 |
def setup_task_credentials(client):
|
|
|
27 |
return requests.post(
|
28 |
'https://iam.cloud.ibm.com/identity/token',
|
29 |
headers={'Content-Type': 'application/x-www-form-urlencoded'},
|
30 |
+
data={'grant_type': 'urn:ibm:params:oauth:grant-type:apikey', 'apikey': api_key},
|
31 |
+
verify=certifi.where()
|
32 |
).json()['access_token']
|
33 |
|
34 |
def setup_task_credentials(client):
|