I am updating the session access_token_payload aft...
# support-questions-legacy
y
I am updating the session access_token_payload after session verification like this export async function POST(req: NextRequest) { return withSession(req, async (session) => { if (!session) return new NextResponse("Unauthorized"); await session.mergeIntoAccessTokenPayload({ anyKeyHere : keyValue, }); return NextResponse.json("Succesfully Restarted The Flow"); }); }. But it is not reflecting the changes on frontend.
2 Views