Skip to content

Commit

Permalink
chore: Specify Resend auth key and "from" address (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
evadecker authored Sep 17, 2024
1 parent ad285d0 commit 20f0624
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .changeset/spicy-nails-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"namesake": patch
---

Send login emails from [email protected]
7 changes: 6 additions & 1 deletion convex/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: process.env.AUTH_EMAIL ?? "Namesake <[email protected]>",
}),
],
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"jackspeak": "2.1.1"
},
"dependencies": {
"@auth/core": "^0.35.0",
"@convex-dev/auth": "^0.0.66",
"@auth/core": "^0.34.2",
"@convex-dev/auth": "^0.0.67",
"@mdxeditor/editor": "^3.11.4",
"@pdfme/common": "^4.5.2",
"@pdfme/generator": "^4.5.2",
Expand Down
38 changes: 18 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20f0624

Please sign in to comment.