Getting 403 on Requesting Access Token for OAuth

While requesting for access token I am getting 403 status

App Type - OAuth

endpoint- https://zoom.us/oauth/token

params- {‘grant_type’: ‘authorization_code’, ‘code’: ‘code getting from the 1 step’, ‘redirect_url’: ‘[REDACTED]’}

headers- {‘Authorization’: 'Basic encoded_token ', ‘Content-type’: ‘application/json’}

Additional context
I am following all the steps of the OAuth document. But no success getting 403 every time.

Hey @angel.webinars,

Thank you for reaching out to the Zoom Developer Forum. First, please make sure that you’ve added your redirect_uri on your app settings page and whitelisted that URL.

Let me know if that helps.

Thanks,
Max

hi Max,

Thanks for your Reply.
I had added my redirect uri in both places

Hey @angel.webinars,

Make sure that you are setting grant_type, code and redirect_uri as query parameters instead of in a JSON object:

image

Here you’re using redirect_url (ending with an L) whereas the parameter is redirect_uri (ending with an i). I just want to make sure that’s known in case that’s causing any issues.

Also, please make sure that URL is accessible publicly and working as expected. When I navigate to that page, I see an error.

If that doesn’t help, please send an email to developersupport@zoom.us with a link to this thread. In that email, please include the full request that you’re making - including the request body as well as the response that you’re seeing.

Thanks,
Max

Yes, that was the issue… Thanks

I’m glad to hear that helped resolve the issue! Feel free to reach out if you encounter any further issues or questions.

Max