Description
When making the POST request to obtain the access and refresh tokens, I keep receiving a 403 status code, with the “Redirect URI mismatch” error.
Error
{“reason”:“Invalid request : Redirect URI mismatch.”,“error”:“invalid_request”}
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth2
Which Endpoint/s?
https://zoom.us/oauth/token
Additional context
I’m stuck at step 2 of OAuth2 authorization. I have obtained the authorization code from step 1, and now I’m calling the endpoint for step 2:
https://zoom.us/oauth/token?grant_type=authorization_code&code=[AUTHORIZATION_CODE]&redirect_uri=https%3A%2F%2F12345678.ngrok.io%2Fauthorize%2Fzoom%2Fcallback
Where [AUTHORIZATION_CODE]
is of course the code obtained on step 1.
In my app, I have set the callback URL as https://12345678.ngrok.io/authorize/zoom/callback
, and I have added both https://12345678.ngrok.io
and http://12345678.ngrok.io
to the URL whitelist, but I keep getting the same error over and over again.
Am I missing something?