forked from source-academy/frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.txt
50 lines (42 loc) · 1.95 KB
/
env.txt
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
REACT_APP_BACKEND_URL=https://d1ygrvunq94rou.cloudfront.net
REACT_APP_USE_BACKEND=TRUE
REACT_APP_PLAYGROUND_ONLY=FALSE
REACT_APP_URL_SHORTENER_SIGNATURE=
REACT_APP_URL_SHORTENER_DOMAIN=
# default testing authentication provider
# this matches the test provider configured in the example backend configuration
# if you are using the staging or production backend, ask your backend developer
# for the correct auth details
REACT_APP_OAUTH2_PROVIDER1=test_admin
REACT_APP_OAUTH2_PROVIDER1_NAME=Test login as admin
REACT_APP_OAUTH2_PROVIDER1_ENDPOINT=http://localhost:8000/login?provider=test&code=admin_code
REACT_APP_OAUTH2_PROVIDER2=test_staff
REACT_APP_OAUTH2_PROVIDER2_NAME=Test login as staff
REACT_APP_OAUTH2_PROVIDER2_ENDPOINT=login?provider=test&code=d9aeee51-d724-4929-a575-3fd22fe5d943
REACT_APP_OAUTH2_PROVIDER3=test_student
REACT_APP_OAUTH2_PROVIDER3_NAME=Test login as student
REACT_APP_OAUTH2_PROVIDER3_ENDPOINT=https://stg.sourceacademy.nus.edu.sg/login?provider=test&code=d74e17cb-ecc3-4e78-948c-2e321fec49d5
## LumiNUS example
## the provider ID, must be UR-friendly (must match the backend configuration)
# REACT_APP_OAUTH2_PROVIDER1=nusnet_id
## the name shown on the login screen: "Log in with ..."
# REACT_APP_OAUTH2_PROVIDER1_NAME=LumiNUS
## the OAuth2 endpoint (which must include a client_id, as part of the OAuth2 specification)
## the redirect_url parameter will be computed and added on
# REACT_APP_OAUTH2_PROVIDER1_ENDPOINT=
## Cognito example
# REACT_APP_OAUTH2_PROVIDER2=cognito
# REACT_APP_OAUTH2_PROVIDER2_NAME=Cognito
# REACT_APP_OAUTH2_PROVIDER2_ENDPOINT=
REACT_APP_MODULE_BACKEND_URL=https://source-academy.github.io/modules
REACT_APP_SHAREDB_BACKEND_URL=
# API keys for Google Drive integration
REACT_APP_GOOGLE_CLIENT_ID=
REACT_APP_GOOGLE_API_KEY=
REACT_APP_GOOGLE_APP_ID=
# API keys for GitHub integration
REACT_APP_GITHUB_CLIENT_ID=
REACT_APP_GITHUB_OAUTH_PROXY_URL=
# Keystroke logging
REACT_APP_CADET_LOGGER=
REACT_APP_CADET_LOGGER_INTERVAL=10000