Zoom Apps Configuration
This is the unchanged zoomapps-advancedsample-react from github. built with docker on Windows 11 WLS 2.0
Description
The Install process ends with a 500 error, The app shows up as installed in zoom but, when started, also gets the 500 error
Error?
right after step 2c according to the console log from the backend, there is a GET /api/zoomapp/auth?code=[redacted]
RangeError: Invalid key length
2023-04-08 16:59:59 zoomapps-advancedsample-react-backend-1 | at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
2023-04-08 16:59:59 zoomapps-advancedsample-react-backend-1 | at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
2023-04-08 16:59:59 zoomapps-advancedsample-react-backend-1 | at new Cipheriv (node:internal/crypto/cipher:243:3)
2023-04-08 16:59:59 zoomapps-advancedsample-react-backend-1 | at Object.createCipheriv (node:crypto:138:10)
2023-04-08 16:59:59 zoomapps-advancedsample-react-backend-1 | at Object.afterSerialization (/home/node/app/util/encrypt.js:6:24)
2023-04-08 16:59:59 zoomapps-advancedsample-react-backend-1 | at Object.upsertUser (/home/node/app/util/store.js:49:15)
2023-04-08 16:59:59 zoomapps-advancedsample-react-backend-1 | at auth (/home/node/app/api/zoomapp/controller.js:218:19)
2023-04-08 16:59:59 zoomapps-advancedsample-react-backend-1 | at processTicksAndRejections (node:internal/process/task_queues:96:5)
Troubleshooting Routes
This is the sample app. am unable to rightclick open the developer console in the client. have tried reinstalling etc.
How To Reproduce
Follow the build instructions Follow the readme instructions on github. start ngrok etc and open a firefox browser tab at [ngok adr]/api/zoomapp/install
I have the unable to see the developer console problem in both apps. I thought that’s what you were talking about. here is my .env for the advanced sample. I did not supply anything which says it can be supplied later and I did use Docker.
As you suggested, I installed OpenSSL for windows, generated the hex number, and put in in the .env. I deleted the local repository, reclonedit from github, put the .env file in, and rebuilt from docker. Unfortunately, I don’t even get as far as I did before. when I try the initial address of/api/zoomapp/install I get a bad gateway error as if there were no server running. I also cannot connect to http://localhost:9090/api/zoomapp/proxy. NGROK ses the GET to /api/zoomapp/install but only the 502 error in response. I have double-checked that client secret etc. are correct in the .env and agree with the marketplace, Note that I can get the simple sample app running with no problem. The one irregularity in marketplace is that underneath where I put my domain in the domain allow list, I get the error message "Domain violates Zoom App Marketplace domain policy. Reason: Developer tools should be removed before publishing the app. " I have market intent to publish for this test as no,