diff --git a/.env.example b/.env.example index f233427..aa785be 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,10 @@ # Get your own Dub API key: https://dub.co/docs/api-reference/tokens DUB_API_KEY= +# Next Auth Secrets +NEXTAUTH_URL= +AUTH_SECRET= + # GitHub AUTH_GITHUB_ID= AUTH_GITHUB_SECRET= diff --git a/.gitignore b/.gitignore index 14a12f6..0d922db 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,5 @@ next-env.d.ts # misc .vscode *.jsonl + +prisma/migrations \ No newline at end of file diff --git a/auth.config.ts b/auth.config.ts index 27a366c..3e0fa23 100644 --- a/auth.config.ts +++ b/auth.config.ts @@ -17,4 +17,5 @@ export default { }, }), ], + secret:process.env.AUTH_SECRET } satisfies NextAuthConfig;