lachu2598
(Lakshmi)
October 8, 2020, 4:05pm
1
Description
https://zoom.us/oauth/token?grant_type=authorization_code&code= {my code}&redirect_uri={my callback URL}
Making a POST Request to the above URL shows
{
“reason”: “Invalid request : Client ID mismatch”,
“error”: “invalid_client”
}
I’m not quite sure what the issue is. I am usinf development credentials and had copy pasted the correct client ID and client_secret followed this url:
Hi @rich ,
For using development credentials, make sure to local test url. From there you should see the authorization screen.
[16%20AM]
After you click Authorize, you will be redirected to your redirect url where you can use the OAuth Code.
[34%20AM]
Once you get OAuth code, you can go to Postman to request your Access token. To do so, here is an example url, make sure to replace code with your OAuth code and your redirect url with what you have listed in your marketplace app. Also, …
But i am unable to get accesstoken.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
Screenshots (If applicable)
Hey @lachu2598
Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question.
Checkout these related threads that may have the answer you are looking for:
Description
I’m getting a Redirect URI mismatch error when trying to get an access token after getting the code. It’s probably because I misunderstood how redirect URI works. I tried the following:
Exact same URI as in app settings
Same URI that I provided in oauth/authorize call when getting the code
I’m getting the same error every time.
Error
{
“reason”: “Invalid request : Redirect URI mismatch.”,
“error”: “invalid_request”
}
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAut…
If these threads did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.
Thanks,
DeveloperBot
Hey @lachu2598 ,
Are you still having trouble with this? If so, can you ensure you’re following the instructions in step 2 here:
It looks like you’re trying to use Basic Auth in your Postman screenshot, but you will need to pass an Authorization header like so:
Let me know if you still have issues and I’m happy to help!
Best,
Will
system
(system)
Closed
November 9, 2020, 3:23am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.