File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Rename file to .env and populate values
2
+ # to be able to run tests
1
3
NEXTAUTH_URL = http://localhost:3000
2
4
NEXTAUTH_TWITTER_ID =
3
5
NEXTAUTH_TWITTER_SECRET =
Original file line number Diff line number Diff line change
1
+ # Rename file to .env.local and populate values
2
+ # to be able to run the dev app
3
+ NEXTAUTH_URL=http://localhost:3000
4
+ SECRET=
5
+ GITHUB_ID=
6
+ GITHUB_SECRET=
Original file line number Diff line number Diff line change @@ -38,11 +38,12 @@ npm i
38
38
39
39
3 . Populate ` .env.local ` :
40
40
41
- Copy ` .env.example ` to ` .env.local ` , and add your env variables for each provider you want to test.
41
+ Copy ` .env.local. example ` to ` .env.local ` , and add your env variables for each provider you want to test.
42
42
43
- > NOTE: You can configure providers of the dev app in ` pages/api/auth/[...nextauth].js `
43
+ > NOTE: You can add any environment variables to .env.local that you would like to use in your dev app.
44
+ > You can find the next-auth config under` pages/api/auth/[...nextauth].js ` .
44
45
45
- 4 . Start the dev application/server and CSS watching:
46
+ 1 . Start the dev application/server and CSS watching:
46
47
``` sh
47
48
npm run dev
48
49
```
You can’t perform that action at this time.
0 commit comments