diff --git a/apps/web/pages/api/auth/oauth/refreshToken.ts b/apps/web/pages/api/auth/oauth/refreshToken.ts index a302cc8bf6..c0c3d63815 100644 --- a/apps/web/pages/api/auth/oauth/refreshToken.ts +++ b/apps/web/pages/api/auth/oauth/refreshToken.ts @@ -55,6 +55,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) const payload: OAuthTokenPayload = { userId: decodedRefreshToken.userId, + teamId: decodedRefreshToken.teamId, scope: decodedRefreshToken.scope, token_type: "Access Token", clientId: client_id,