Developer set up for OAuth2

Confused as to how to manage redirect URL on local development system

When posting to the authorize endpoint i have to specify the redirect URL which has to match that in the app profile.

However, when developing I’m always using localhost:3000 as the website since this my IDE environment. I get the redirect URL back with the code in it (so I know it’s authorising ok) but of course, I can’t continue with the redirection since that’s on

I have whitelisted as well as localhost:3000

Which App Type (OAuth / Chatbot / JWT / Webhook)?

Which Endpoint/s?

How To Reproduce (If applicable)

Screenshots (If applicable)

Additional context

Hey @blacknell,

You can use ngrok to turn your localhost into a free server. Then use the ngrok url as your development redirect and whitelist.

Let me know if you have additional questions! :slight_smile:


So are you suggesting I need to create another app with local host:3000 redirect & whitelist uri’s?


Hey @blacknell,

No, just change your development redirect and whitelist urls to your ngrok url:

If I am misunderstanding your issue, can you explain more about why you need to use both localhost and in the same OAuth flow?


Ok. I’m getting there but…

  1. I got the code back after
  2. I then made the POST to with encoded headers etc.

I’m getting a CORS error back

This is supposed to be a client side oauth process but it’s looking like your side doesn’t set Access-Control-Allow-Origin?

Hey @blacknell,

It is a client side process until you land on your redirect url. You need to make the request to get an access token from the server side. A common flow is once you land on the redirect url, your client side makes a request to your server sending the auth code, and then your server makes a request to get an access token from Zoom.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.