fix(OAuth2API): enable token exchange without token (#10312)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Dylan Yang 2024-06-02 06:21:48 -07:00 committed by GitHub
parent c1e6890132
commit 9b07036d70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,7 @@ export class OAuth2API {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
auth: false,
signal,
}) as Promise<RESTPostOAuth2AccessTokenResult>;
}
@ -68,6 +69,7 @@ export class OAuth2API {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
auth: false,
signal,
}) as Promise<RESTPostOAuth2RefreshTokenResult>;
}
@ -91,6 +93,7 @@ export class OAuth2API {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
auth: false,
signal,
}) as Promise<RESTPostOAuth2ClientCredentialsResult>;
}