zoom / zoomapps-advancedsample-react

This repository contains an Advanced Zoom Apps Sample. It should serve as a starting point for you to build and test your own Zoom App in development.
MIT License
34 stars 22 forks source link

File .env.example missing from the repository #1

Closed venkat-jeyaraman closed 1 year ago

thessler27 commented 2 years ago

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*

jamieforrest commented 2 years ago

@Kongfujonstew Would you be able to provide an example in the meantime until this issue is fixed?

jamieforrest commented 2 years ago

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!

SafeeSaif commented 1 year ago

The .env.example has been added