织梦CMS - 轻松建站从此开始!

欧博ABG-会员注册-官网网址

欧博I am getting 400 Bad Request while getting acces

时间:2025-10-14 01:31来源: 作者:admin 点击: 1 次
const tokenResponse = await axios.post(“https://zoom.us/oauth/token”, null, { params: { code: code, // The authorization code you received grant_t

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:

Zoom

OAuth for user authorized apps - Zoom Developers

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.js

main

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 (责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-10-14 05:10 最后登录:2025-10-14 05:10
栏目列表
推荐内容