Skip to content

Commit

Permalink
fix(OAuth2API): enable token exchange without token (#10312)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
Gravitonic and kodiakhq[bot] authored Jun 2, 2024
1 parent c1e6890 commit 9b07036
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/api/oauth2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export class OAuth2API {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
auth: false,
signal,
}) as Promise<RESTPostOAuth2AccessTokenResult>;
}
Expand All @@ -68,6 +69,7 @@ export class OAuth2API {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
auth: false,
signal,
}) as Promise<RESTPostOAuth2RefreshTokenResult>;
}
Expand All @@ -91,6 +93,7 @@ export class OAuth2API {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
auth: false,
signal,
}) as Promise<RESTPostOAuth2ClientCredentialsResult>;
}
Expand Down

0 comments on commit 9b07036

Please sign in to comment.