Description
When I send for authorization_code at that time it send me error. 400 Bad request.
Error
I got Below html page error.
400 Bad Request
400 Bad Request
zoom
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
Which Endpoint/s?
https://api.zoom.us/oauth/token?grant_type=authorization_code&code={$code}&redirect_uri={$redirect_uri}
How To Reproduce (If applicable)
Steps to reproduce the behavior:
I am authenticating from Zoom. It send me code. And then I am sending request for access_token and refresh_token
But it show error 400 Bad Request.
tommy
(Tommy Gaessler)
July 28, 2020, 7:33pm
3
Hey @verityinfotech ,
Make sure you are sending a POST request when getting an access token.
Thanks,
Tommy
Hello Tommy,
Yes I am sending a post request. Everything is working fine on the production server. But not on the development server.
tommy
(Tommy Gaessler)
July 31, 2020, 7:46pm
5
Hey @verityinfotech ,
Make sure you have installed the development version of your app.
Please provide exact steps to reproduce the issue and a screen shot of the error.
Thanks,
Tommy
Hello Tommy,
I am following the below document.
https://marketplace.zoom.us/docs/guides/auth/oauth
Step1 :- Opening url in browser
[https://zoom.us/oauth/authorize?response_type=code&client_id=7lstjK9NTyett_oeXtFiEQ&redirect_uri=https://yourapp.com](https://zoom.us/oauth/authorize?response_type=code&client_id=7lstjK9NTyett_oeXtFiEQ&redirect_uri=https://yourapp.com)
Step 2:- It will tell me to authenticate.
Step 3: It will send me code in response. And I am sending request for request token with this code.
My request is
[https://zoom.us/oauth/token?grant_type=authorization_code&code=obBEe8ewaL_KdYKjnimT4KPd8KKdQt9FQ&redirect_uri=https://yourapp.com](https://zoom.us/oauth/token?grant_type=authorization_code&code=obBEe8ewaL_KdYKjnimT4KPd8KKdQt9FQ&redirect_uri=https://yourapp.com)
And in header I am sending base64encoded string of Client_ID:Client_Secret.
This method is working fine with ubuntu. But it show error in clearos. Many of our customers are using this integration. But we are facing issue in clearos only.
It shows me error message 400 Bad Request . And bad request error is because of incorrect data receive by zoom. So I want to know what data I am missing with clearos ? Please guide me in this matter.
system
(system)
Closed
August 8, 2020, 11:00am
7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.