diff --git a/packages/cli/src/auth/auth.service.ts b/packages/cli/src/auth/auth.service.ts index f8e332cbfe781..994e699c0386a 100644 --- a/packages/cli/src/auth/auth.service.ts +++ b/packages/cli/src/auth/auth.service.ts @@ -42,6 +42,10 @@ const skipBrowserIdCheckEndpoints = [ // We need to exclude binary-data downloading endpoint because we can't send custom headers on `` tags `/${restEndpoint}/binary-data`, + + // oAuth callback urls aren't called by the frontend. therefore we can't send custom header on these requests + `/${restEndpoint}/oauth1-credential/callback`, + `/${restEndpoint}/oauth2-credential/callback`, ]; @Service()