diff --git a/apps/builder/src/pages/api/auth/sendVerificationRequest.ts b/apps/builder/src/pages/api/auth/sendVerificationRequest.ts index 930554c07..29de2421c 100644 --- a/apps/builder/src/pages/api/auth/sendVerificationRequest.ts +++ b/apps/builder/src/pages/api/auth/sendVerificationRequest.ts @@ -12,6 +12,7 @@ export const sendVerificationRequest = async ({ identifier, token }: Props) => { }/api/auth/callback/email?${new URLSearchParams({ email: identifier, token, + callbackUrl: `${process.env.NEXTAUTH_URL}/signin`, }).toString()}` await sendMagicLinkEmail({ url, to: identifier }) } catch (err) {