Skip to content

Commit 18063d1

Browse files
authored
Merge pull request #66 from mhrono/fix-oauth-token-renew
Update _request_access_token method in ApiClientCredentialsProvider
2 parents 4370d6b + 5c74fb1 commit 18063d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jamf_pro_sdk/clients/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def __init__(self, client_id: str, client_secret: str):
157157
def _request_access_token(self) -> AccessToken:
158158
"""Request a new an API access token using client credentials flow."""
159159
with self._client.session.post(
160-
url=f"{self._client.base_server_url}/api/oauth/token",
160+
url=f"{self._client.base_server_url}/api/v1/oauth/token",
161161
headers={
162162
"Accept": "application/json",
163163
"Content-Type": "application/x-www-form-urlencoded",

0 commit comments

Comments
 (0)