-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
21 lines (17 loc) · 946 Bytes
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// This is your MongoDB database connection string.
MONGODB_URI=
// How to generate a GitHub client id and secret:
// 1. Go to https://github.com/settings/developers and create a new OAuth application
// 2. Name your application "MongoDB Starter"
// 3. Set the homepage URL to https://vercel.app for now (we'll change this later)
// 4. Set the authorization callback URL to https://vercel.app/api/auth/callback/github for now (we'll change this later)
// 5. Click "Register application".
// 6. Once the application is created, copy the "Client ID".
// 7. Generate a new client secret and copy that too.
// 8. Once your application is deployed, edit the homepage & callback URLs to match your deployment URL.
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
// Generate one here: https://generate-secret.vercel.app/32
NEXTAUTH_SECRET=
// You don't need to define this variable in prod (only for localhost)
NEXTAUTH_URL=http://localhost:3000/api/auth