-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example.txt
More file actions
34 lines (26 loc) · 1.08 KB
/
Copy pathenv.example.txt
File metadata and controls
34 lines (26 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Next auth https://next-auth.js.org/configuration/options
# Run this command to generate a a new NEXTAUTH_SECRET
# $ openssl rand -base64 32
NEXTAUTH_URL = XXX
AUTH_TRUST_HOST=XXX
NEXTAUTH_SECRET=XXX
# Go to Google and setup the oauth configuration
# https://next-auth.js.org/providers/google#configuration
# https://console.developers.google.com/apis/credentials
GOOGLE_ID=XXX
GOOGLE_SECRET=xxxxx
# In Google add these values:
# Homepage URL: http://localhost:3000
# Authorization callback URL: http://localhost:3000/api/auth/callback/google
# Server-only scoped Core service account. Provision `grid-console` with
# providers app+google and GOOGLE_ID in its Google audience allowlist.
GRID_SERVICE_API_KEY=grid_xxx
GRID_API_BASE=https://api.aipowergrid.io
# Go to github and setup the oauth configuration
# https://next-auth.js.org/providers/github#configuration
# https://github.com/settings/developers
# GITHUB_ID = XXX
# GITHUB_SECRET = XXX
# In github add these values
# Homepage URL : http://localhost:3000
# Authorization callback URL : http://localhost:3000/api/auth/callback/github