Description
I am using the zoom Oauth flow. I following the steps as per the documentation. When i try to acquire access token I keep getting “Invalid request : Redirect URI mismatch.”
I have been through all the probable reasons. I have also setup https on my system. But I cant seem to figure out the problem. Need help. I am have been stuck on this for more than two days.
Error
“Invalid request : Redirect URI mismatch.”
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
Are you using a local URI? If so, this is likely the issue. You’ll need to host your localhost on a publicly accessible server such as ngrok. Let me know if this helps:
When using ngrok to set up a server for this, can you confirm that your Redirect URI is the same URI from the authorization (install URL), all the way through the flow to the GET Access Token request? For example, with these URLs set:
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.us
So in my example, if I proceed to install the app, the redirect URI needs to be exactlyhttps://zoom.us for the GET access_token request or else you will see the Redirect URI mismatch error
When you have a chance to read this over, can you please confirm that you’re following these steps exactly?
I have updated everytime I start ngrok as a new domain is assigned.
Double encoding doesnt work.
No it doesnt have any query params.
Can i get some one on one chat to help me as I have been stuck on this for more than 2 weeks?