cornellh4i / ithaca-recovery

Ithaca Community Recovery Event and Meeting Setup Automation Tool
https://ithaca-recovery.vercel.app
8 stars 3 forks source link

Added a function to generate zoom access token #15

Closed mohammad0612 closed 6 months ago

mohammad0612 commented 6 months ago

Created a folder zoom in frontend/app/api and created two files, generateToken.ts and route.ts. In generateToken.ts, created a function generateZoomToken to generate an access token, followed documentation here https://developers.zoom.us/docs/internal-apps/s2s-oauth/

Then went to create a function in the same file to export the access token and made this the default export in route.ts for Next.js configuration. Added a section "Zoom testing" in the Testing Endpoint sections and created a button to test the access token generation. Onclick of the button gives a sample access token. See screenshot below:

Screenshot 2024-04-07 at 6 18 15 PM

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ithaca-recovery ❌ Failed (Inspect) Apr 7, 2024 10:21pm