Closed venkat-jeyaraman closed 2 years ago
@Kongfujonstew Would you be able to provide an example in the meantime until this issue is fixed?
I was able to get the backend app up and running with a .env
file like the following:
PUBLIC_URL=https://**********.ngrok.io
ZOOM_APP_CLIENT_ID={your zoom app client id}
ZOOM_APP_CLIENT_SECRET={your zoom app client secret}
ZOOM_HOST=https://zoom.us
ZOOM_APP_OAUTH_STATE_SECRET={your zoom app oauth state secret, or, if unused, any string of chars}
REDIS_URL=redis://redis:6379
REDIS_ENCRYPTION_KEY={an encoded sha256 encryption key; see below}
APP_NAME=zoomapps-advancedsample-react
SESSION_SECRET=9e38797ab64d07204cd8293abee970ef98bfc4dd29a23ac0ce1e39fdecf144e5
NOTE: I generated a REDIS_ENCRYPTION_KEY
by doing the following in the node
REPL:
let secret = 'hello world!'
let key = crypto.createHash('sha256').update(String(secret)).digest('base64').substr(0, 32);
@Kongfujonstew Let me know if I did anything wrong!
The .env.example has been added
Also having this problem. Likely due to this line in the
.gitignore
:https://github.com/zoom/zoomapps-advancedsample-react/blob/main/.gitignore#L2
Should be:
.env
not.env*