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 9bece68 commit 89e018bCopy full SHA for 89e018b
pydomo/Transport.py
@@ -86,7 +86,8 @@ def _renew_access_token(self):
86
self.logger.debug("Renewing Access Token")
87
request_args = {
88
'method': HTTPMethod.POST,
89
- 'url': self.apiHost + '/oauth/token?grant_type=client_credentials',
+ 'url': self.apiHost + '/oauth/token',
90
+ 'data': {'grant_type': 'client_credentials'},
91
'auth': HTTPBasicAuth(self.clientId, self.clientSecret)
92
}
93
if self.request_timeout:
0 commit comments