diff --git a/server/api/oauth/authorize/index.ts b/server/api/oauth/authorize/index.ts index d39b64b6..da34fc51 100644 --- a/server/api/oauth/authorize/index.ts +++ b/server/api/oauth/authorize/index.ts @@ -309,13 +309,8 @@ export default apiRoute( const searchParams = new URLSearchParams({ code: code, - scope: scope ?? application.scopes, - token_type: "Bearer", - client_id: client_id, }); - if (state) searchParams.set("state", state); - return response(null, 302, { Location: `${redirectUri.origin}${ redirectUri.pathname