Skip to content

Commit

Permalink
fix(Auth): ensure central ID is always used for sessionJWT
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeaturner committed Feb 12, 2025
1 parent c1cea30 commit 502ce75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controllers/AuthController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export class AuthController {
...(ticket && { session_ticket: ticket})
});

const sessionJWT = await AuthController.createSessionJWT(uuid, sessionID);
const sessionJWT = await AuthController.createSessionJWT(finalUserUUID, sessionID);
const [access, signed] = AuthController.splitSessionJWT(sessionJWT);

const prodCookieConfig: CookieOptions = {
Expand Down

0 comments on commit 502ce75

Please sign in to comment.