From f2dec678cf230c947c04c36dd6dc81e9de8543d5 Mon Sep 17 00:00:00 2001 From: tesobe-daniel Date: Tue, 15 Jan 2019 21:52:16 +0100 Subject: [PATCH] Update oauth.py required to make oauth work without ssl certificate verification --- apitester/obp/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apitester/obp/oauth.py b/apitester/obp/oauth.py index 0446364..e519f98 100644 --- a/apitester/obp/oauth.py +++ b/apitester/obp/oauth.py @@ -57,7 +57,7 @@ def set_access_token(self, authorization_url): session.parse_authorization_response(authorization_url) url = settings.API_HOST + settings.OAUTH_ACCESS_TOKEN_PATH try: - response = session.fetch_access_token(url) + response = session.fetch_access_token(url, verify=False) except (TokenRequestDenied, ConnectionError) as err: raise AuthenticatorError(err) else: