summaryrefslogtreecommitdiff
path: root/.env.example
diff options
context:
space:
mode:
Diffstat (limited to '.env.example')
-rw-r--r--.env.example11
1 files changed, 7 insertions, 4 deletions
diff --git a/.env.example b/.env.example
index fb669c3..20ddef1 100644
--- a/.env.example
+++ b/.env.example
@@ -7,12 +7,15 @@ POSTGRES_PASSWORD=password
POSTGRES_DATABASE=chessh
WEB_PORT=8080
-REACT_APP_GITHUB_OAUTH=https://github.com/login/oauth/authorize?client_id=CLIENT_ID_HERE&redirect_uri=http://127.0.0.1:3000/api/oauth/redirect
+
+REACT_APP_DISCORD_INVITE=https://discord.gg/ajsdlkfjaskldjf
+REACT_APP_DISCORD_OAUTH=https://discord.com/api/oauth2/authorize?client_id=CLIENT_ID&redirect_uri=FRONTEND_REDIRECT_PORT_FROM_BELOW&response_type=code&scope=identify
+
CLIENT_REDIRECT_AFTER_OAUTH=http://127.0.0.1:3000/auth-successful
-GITHUB_CLIENT_ID=
-GITHUB_CLIENT_SECRET=
-GITHUB_USER_AGENT=
+DISCORD_CLIENT_ID=
+DISCORD_CLIENT_SECRET=
+DISCORD_USER_AGENT=
JWT_SECRET=aVerySecretJwtSigningSecret