OAuth
Scenario 1: Sign up/Sign in with Free Account
await prisma.user.update({ where: { id: userId }, data: { roles: { set: ["CLIENT"], }, }, }); handleAfterSignupTasks({ email, name, userId, isAffiliate, });
Scenario 2: Sign up as a New Client Who Has Just Subscribed to a Plan
Additional Details:
Last updated