Skip to content

Commit

Permalink
fix: workos login JWT token (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Jul 11, 2024
1 parent 5593089 commit 83ccfd4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default async function GET(req: NextRequest): Promise<NextResponse> {
email: user.email,
};

const token = await signFernJWT(fernUser);
const token = await signFernJWT(fernUser, user);

const res = NextResponse.redirect(redirectLocation);
res.cookies.set("fern_token", token, COOKIE_OPTS);
Expand Down

0 comments on commit 83ccfd4

Please sign in to comment.