From 540579ca9bfcd737c6c44c89d0bbdbd0266e1034 Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Tue, 17 Sep 2024 17:14:04 -0400 Subject: [PATCH] Specify resend auth key --- convex/auth.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/convex/auth.ts b/convex/auth.ts index 17092d6b..cc42557f 100644 --- a/convex/auth.ts +++ b/convex/auth.ts @@ -2,5 +2,10 @@ import Resend from "@auth/core/providers/resend"; import { convexAuth } from "@convex-dev/auth/server"; export const { auth, signIn, signOut, store } = convexAuth({ - providers: [Resend], + providers: [ + Resend({ + apiKey: process.env.AUTH_RESEND_KEY, + from: "no-reply@namesake.fyi", + }), + ], });