-
Notifications
You must be signed in to change notification settings - Fork 3
/
start.sh
executable file
·22 lines (18 loc) · 1.17 KB
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export DEMO_APP_SIGNATURE_CERT_PRIVATE_KEY=./ssl/stg-demoapp-client-privatekey-2018.pem
export MYINFO_CONSENTPLATFORM_SIGNATURE_CERT_PUBLIC_CERT=./ssl/stg-auth-signing-public.pem
export MYINFO_APP_CLIENT_ID=STG2-MYINFO-SELF-TEST
export MYINFO_APP_CLIENT_SECRET=44d953c796cccebcec9bdc826852857ab412fbe2
export MYINFO_APP_REDIRECT_URL=http://localhost:3001/callback
export MYINFO_APP_REALM=http://localhost:3001
# L0 APIs
export AUTH_LEVEL=L0
export MYINFO_API_AUTHORISE='https://myinfosgstg.api.gov.sg/dev/v2/authorise'
export MYINFO_API_TOKEN='https://myinfosgstg.api.gov.sg/dev/v2/token'
export MYINFO_API_PERSON='https://myinfosgstg.api.gov.sg/dev/v2/person'
# L2 APIs
# export AUTH_LEVEL=L2
# export MYINFO_API_AUTHORISE='https://myinfosgstg.api.gov.sg/test/v2/authorise'
# export MYINFO_API_TOKEN='https://myinfosgstg.api.gov.sg/test/v2/token'
# export MYINFO_API_PERSON='https://myinfosgstg.api.gov.sg/test/v2/person'
npm start