Scheduling infrastructure for absolutely everyone.
add teamId when refreshing access token (#13159)
Carina Wollendorfer710a1a7d38f3
diff --git a/apps/web/pages/api/auth/oauth/refreshToken.ts b/apps/web/pages/api/auth/oauth/refreshToken.tsindex a302cc8bf62..c0c3d638151 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,