Skip to content

Commit

Permalink
feat: enable ssl verify
Browse files Browse the repository at this point in the history
  • Loading branch information
flobz committed Nov 2, 2023
1 parent ef66f99 commit 8112f82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psa_car_controller/psacc/application/psa_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, refresh_token, client_id, client_secret, remote_refresh_token
realm_info[self.realm]['oauth_url'],
client_id,
client_secret,
SCOPE, False)
SCOPE, True)
self.client_id = client_id
self.manager = OpenIdCredentialManager(self.service_information)
self.api_config = Oauth2PSACCApiConfig()
Expand All @@ -53,7 +53,7 @@ def __init__(self, refresh_token, client_id, client_secret, remote_refresh_token
self.vehicles_list = Cars.load_cars(CARS_FILE)
self.customer_id = customer_id
self._config_hash = None
self.api_config.verify_ssl = False
self.api_config.verify_ssl = True
self.api_config.api_key['client_id'] = self.client_id
self.api_config.api_key['x-introspect-realm'] = self.realm
self.remote_token_last_update = None
Expand Down

0 comments on commit 8112f82

Please sign in to comment.