b28ee472c5
JWT strategy maps payload.sub to user.id — user.sub was always undefined, causing Prisma findUnique to fail with id: undefined validation error. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>