We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f463f93 commit 7423c32Copy full SHA for 7423c32
presalytics/client/api.py
@@ -320,6 +320,8 @@ def refresh_token(self):
320
else:
321
if self.direct_grant:
322
token = self.oidc.token(username=self.username, password=self.password)
323
+ elif self.confidential_client:
324
+ token = self.oidc.client_credentials_token()
325
elif self._delegate_login:
326
raise presalytics.lib.exceptions.ApiError("Unauthorized. Token has expired", status_code=401)
327
0 commit comments