Incorrect error message "Invalid redirect url" during OAuth authorization

Hey @mmijovilcevich,

Well that means the app was able to be installed, so you won’t see any invalid redirect errors mentioned here:

Can you specify what the error is again and when it happens?

Thanks,
Tommy

Hey @tommy,

When the user is already authenticated in Zoom, the workflow works fine. When the user is NOT authenticated in Zoom, I get an Invalid redirect url (4,700) error instead of the Zoom login page.

Thanks!

Hey @mmijovilcevich,

Can you share your install URL with me so I can test?

Thanks,
Tommy

I too am having issues with the redirect_url saying "Invalid’.
Everything was working when I was developing the app and as soon as I had switched the app to say “I intend to publish” the and it created new set of development keys for me I have not been able to get it to work.
I have been using same redirect_url and have not changed any code.

Hey @tommy,
You can use this URL to test.

https://api.zoom.us/oauth/signin?_rnd=1587558523299&client_id=1q3Fw8wBQLg9qvB0pnsFQ&redirect_uri=https%3A%2F%2Fthirdpartyapi-prod.beta.lupl.com%2Fapi%2Fv1%2FZoomOAuthRedirect&response_type=code&state=93a0ef81-6ac5-4c5e-abd0-4c3b1cfb10e8---62f281e3-4ae9-4afe-a93c-d1c303a296e0---cc969c40-a3da-4c2e-8f39-d5807432f6a3---https://webfe-prod.beta.lupl.com/matter/details/cc969c40-a3da-4c2e-8f39-d5807432f6a3&_x_zm_rtaid=V8xdJ5zETi22DmtcU3NCrA.1587558523298.f7ac84d78fd688adf464c6232566cd22&_x_zm_rhtaid=661

If you are already logged in with dev account, the request works fine, otherwise you will get the error.

Thanks!

Hey @alex.lopez,

Double check your redirect and whitelist urls match.

Thanks,
Tommy

1 Like

Hey @mmijovilcevich,

Please try removing the url in your state param and try again.

Thanks,
Tommy

Hey @tommy

I already did that test and it is not the reason why we are getting that error. We are using several Zoom apps (without any attempt to be published) and all of them are working fine with the same code. We need a solution because this error is a blocker to have our Zoom app in production. Is there any other channel to report this problem to have a solution ASAP?

Thanks

Hey @tommy,

Last 3-4 days, we are not able to use the OAuth API to authorize and get access token. It throws Invalid URL (4700) error. Even the Post man request URL which I usually use to get the access token does not work the way it used to.

In the above link, by providing the client key and secret, it generates the access token. Apparently this also does not work. Any suggestions?

Hi, @tommy

I have the same problem. I received invalid redirect for https url until added the url to the white list. But! I need to use deep links and they are can not be added to white list because I receive validation error: Wrong URL format (deep links are not start from http or https).
So how should I use deep links for redirect or it is impossible already?

Good afternoon - I am having the same errorInvalid URL (4700) when attempting to get the oauth token. Are there any additional steps I can take to troubleshoot this issue with my developers?

Hey @dalockwood, @igor.kichuk, @amritasethu, @mmijovilcevich,

Few things to try:

  1. Make sure your redirect url, whitelist url, and redirect_uri in the OAuth process match.

  2. Make sure you are using a POST request when getting an access_token.

  3. Try regenerating your install url.

Thanks,
Tommy

Hi,
I’m facing the same error.
I’m trying the test request widget and I’m getting this error:
Redirección no válida: https://next.stoplight.io/oauth/callback/success (4.700)
All requested field has been filled properly as the tutorial says.

What I’m missing?

Hi guys!

Last week I was finally able to fix the error. I corrected it by regenerating the Publishable URL and the Verification Token.

Thanks @tommy!
Regards,
Mario

1 Like

Hey @mmijovilcevich,

Happy to hear its working now! :slight_smile:

Thanks,
Tommy

Hey @folano,

Make sure to add https://zoom.us to your redirect and whitelist in your OAuth app.

Thanks,
Tommy

I am facing the same issue… 4700. Tommy can u pls help me out.

Hey @anisha.m,

Can you share your OAuth request URL and screenshots of your redirect url and whitelist url in the marketplace?

Thanks,
Will

1 Like

After clicking authorize the link doesnt work any more and shows error. The link is below.,


The link is showing till authorize when i logged in… if i am not logged in it doesnt even show authorize page also., it directly shows error. Without login link i have given below. Please find it.
https://zoom.us/oauth/authorize?response_type=code&client_id=e5mbOzb1QyuPHpyx2S0itQ&redirect_uri=callback.php

OAuth URL:- https://onlineeducationportal.us/admin/zoom.php
Whitelist URL:- https://onlineeducationportal.us/admin/zoom.php