Invalid redirect url (4700) when whitelisting root domain

I have an app which uses OAuth authorization and it is deployed to multiple servers. Each instance of the app has its own subdomain.
For example,
https://subdomain1.topdomain.com
https://subdomain2.topdomain.com

There are over a thousand such subdomains, and it is not a static list. When a user on a site tries to authorize, the redirect url will be specific to that site, something like “https://subdomain1.topdomain.com/redirect”. Adding just “https://topdomain.com” to the whitelist was enough for OAuth redirection, and it was working till yesterday. But now I’m getting “invalid redirect url” when a user tries to authorize the app unless I give the full domain in the whitelist. That means adding each subdomain separately which is not feasible.

For now I’ve added a few full domains to whitelist for testing, but this is impacting my ability to roll out Zoom integration with my app.

Is this a bug, or a new change in behaviour?

Thanks,
Dilip

Hey @dilipvrk

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. :slightly_smiling_face:

Checkout this related thread that may have the answer you are looking for:

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,
DeveloperBot

Hi DeveloperBot, that did not help as the issue I’m facing is different. I’d like someone from Zoom team to take a look please.

Hey @dilipvrk,

We believe this to be a bug. What is the name of your app?

Thanks,
Tommy

Hi @tommy,
App is called Xplan.

Regards,
Dilip

Hi @tommy,
We are also facing the same issue for our app “Appointy Meetings For Zoom” listed on Zoom marketplace. Users are unable to connect their Zoom account due to the following error.

“Invalid redirect: https://business.appointy.com/apps/zoom/Connected (4,700)”

This was working fine before yesterday and it stopped suddenly. We request you to please look at this issue asap.

Thanks @shan, @dilipvrk,

We are investigating the issue and will get back to you asap. (ZOOM-162618)

Thanks,
Tommy

Hi @tommy we are also facing the same issue, our app also stopped working from yesterday with error <Invalid redirect url (4700)>
Our app name is LivingMatrix.

Thanks for letting us know @surendrans.

We are working to fix the issue asap.

-Tommy

Hey @shan, @surendrans, @dilipvrk,

It should be fixed now! :slight_smile:

Please try and let me know if you see any issue.

-Tommy

Thanks @tommy! The issue has been resolved for me.

Regards,
Dilip

1 Like

Happy to hear! :slight_smile:

Thanks,
Tommy

Thanks @tommy , working fine now.

1 Like

You are welcome! :slight_smile:

-Tommy

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