From 9b07036d707b123709480987d5741d6ba75b148b Mon Sep 17 00:00:00 2001 From: Dylan Yang Date: Sun, 2 Jun 2024 06:21:48 -0700 Subject: [PATCH] fix(OAuth2API): enable token exchange without token (#10312) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/core/src/api/oauth2.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/src/api/oauth2.ts b/packages/core/src/api/oauth2.ts index df711cc05..0c62400f0 100644 --- a/packages/core/src/api/oauth2.ts +++ b/packages/core/src/api/oauth2.ts @@ -47,6 +47,7 @@ export class OAuth2API { headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, + auth: false, signal, }) as Promise; } @@ -68,6 +69,7 @@ export class OAuth2API { headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, + auth: false, signal, }) as Promise; } @@ -91,6 +93,7 @@ export class OAuth2API { headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, + auth: false, signal, }) as Promise; }