Can you please take a look at that guide, to understand the proper way to generate the oauth token? Here is another useful link to our docs: The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform. POST https://zoom.us/oauth/token HTTP/1.1 # Header Host: zoom.us Authorization: Basic Q2xpZW50X0lEOkNsaWVudF9TZWNyZXQ= Content-Type: application/x-www-form-urlencoded # Request body code: [CODE] grant_type: authorization_code redirect_uri: [REDIRECT URI]Here is a sample app that could be helpful too github.com/zoom/user-level-oauth-starter routes/api/zoomOauth.jsmain const express = require('express'); const axios = require('axios'); const qs = require('query-string'); const { createNewUser, getCurrentUser, getUsers, updateCurrentUserToken, deleteCurrentUser, } = require('../../dbQuery'); const { decrypt } = require('../../crypto'); const withCurrentUser = require('../../middlewares/withCurrentUser'); const httpErrorHandler = require('../../httpErrorHandler'); const logHttpErrorPath = require('../../logHttpErrorPath'); const { ZOOM_OAUTH_TOKEN_URL, ZOOM_OAUTH_AUTHORIZATION_URL, ZOOM_API_BASE_URL, ZOOM_TOKEN_RETRIEVED, ZOOM_USER_REVOKE_ERROR, ZOOM_TOKEN_ERROR, ZOOM_TOKEN_REFRESH_ERROR, ZOOM_OAUTH_ERROR, ZOOM_FETCH_OAUTH_USERS_ERROR, } = require('../../constants'); const router = express.Router(); // Zoom OAuth router.get('/', async (req, res) => { This file has been truncated. show original (责任编辑:) |