add teamId when refreshing access token (#13159)

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
This commit is contained in:
Carina Wollendorfer 2024-01-11 16:43:15 -05:00 committed by GitHub
parent f25605ef4d
commit 710a1a7d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,