I have been facing so many issue related with zoom api or sdk . Can anyone help me out ?
Client error: POST https://zoom.us/oauth/token?grant_type=authorization_code&code={code}&redirect_uri=https://{domain}/auth/callback
resulted in a 403 Forbidden
response: {“reason”:“Invalid request : Redirect URI mismatch.”,“error”:“invalid_request”}
1 Like
Hi h.gurung1,
I had the same issue yesterday, but managed to solve it.
The URI must match the one you have given to Zoom (MyApps>Develop>Build App or this place: https://marketplace.zoom.us/develop/create ).
I got a bit confused and thought I needed another callback GET end point on my server, but only need the one GET endpoint listening on my server.
Inside of my GET endpoint is my logic to make my outgoing POST request to https://zoom.us/oauth/token?grant_type=authorization_code&code=MYCODE&redirect_uri=MYURI ).
In summary, what ever you use for MYURI, make sure it matches the one you gave when you setup your app in https://marketplace.zoom.us/develop/create .
I hope this helps,
Dave.
1 Like
Hey @AussieDave ,
Thank you for sharing but i think problem is with subdomain or something .
Redirect uri is all same in both my app section and in my post request.
https://zoom.us/oauth/token?grant_type=authorization_code&code=MYCODE&redirect_uri=MYURI ).
But when i try to use it something like this http://127.0.0.1:8000/
Its working fine though. Really weird situation here.
Thanks,
tommy
(Tommy Gaessler)
August 10, 2020, 6:47am
4
Hey @h.gurung1 ,
Checkout my post here and let me know if it answers your question:
Hey @Nad ,
Let me know if this helps explain things:
The Redirect URI needs to be the same URI from the authorization (install URL) through to the Get Access Token request. So with these URLs set:
[Screen Shot 2020-07-23 at 10.02.37 AM]
When I go to install the app from the “Activation” page, it defaults the redirect URI to the one specified in the “Redirect URL for OAuth” input:
https://zoom.us/oauth/authorize?response_type=code&client_id=ztmR8sxaSBGZ66b5laR7Ag&redirect_uri=https://zoom.u…
Thanks for your suggestions @AussieDave !
Thanks,
Tommy
system
(system)
Closed
August 20, 2020, 6:47am
5
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.