# Oauth Redirect Error?

**URL:** <https://devforum.zoom.us/t/oauth-redirect-error/26989>\
**Category:** API and Webhooks\
**Created:** [August 12, 2020, 10:15pm UTC](https://devforum.zoom.us/t/oauth-redirect-error/26989 "2020-08-12T22:15:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaeljoelhall](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michaeljoelhall/32/13422_2.png) [@michaeljoelhall](https://devforum.zoom.us/u/michaeljoelhall)\
**Post date:** [August 12, 2020, 10:15pm UTC](https://devforum.zoom.us/t/oauth-redirect-error/26989/1 "2020-08-12T22:15:18Z")

</div>

**Description**  
I am attempting to create an oauth app using events calendar pro. I input my redirect url, and I receive this error:

**Error**  
Invalid redirect: [https://functionalashtanga.com/wp-admin/?state=zoom|oauth|authorize|1efd971256](https://functionalashtanga.com/wp-admin/?state=zoom%7Coauth%7Cauthorize%7C1efd971256) (4,700)

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

**Which Endpoint/s?**

**How To Reproduce (If applicable)**

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 12, 2020, 10:15pm UTC](https://devforum.zoom.us/t/oauth-redirect-error/26989/2 "2020-08-12T22:15:50Z")

</div>

Hey @michaeljoelhall

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

Checkout these related threads that may have the answer you are looking for:

> [@OAuth with zoom - redirect uri is not used for redirect](https://devforum.zoom.us/t/-/4843):
>
> Hi, I’m currently working on an OAuth application with Zoom. Here the error occurs that the redirect Uri I specified is not accepted, but I am sent back to the zoom page. My Request URL: [https://zoom.us/oauth/authorize?client\_id=XXX&response\_type=code&redirect\_uri=http://localhost:8080/vccfg/login/oauth2/code/zoom&state=XXX](https://zoom.us/oauth/authorize?client_id=XXX&response_type=code&redirect_uri=http://localhost:8080/vccfg/login/oauth2/code/zoom&state=XXX) Location I get send to after the request: [http://zoom.us/vccfg/login/oauth2/code/zoom?code=XXX](http://zoom.us/vccfg/login/oauth2/code/zoom?code=XXX) Screenshot from my browser:

> [@OAuth Redirect Url not redirecting after authorize](https://devforum.zoom.us/t/-/1138):
>
> Hi,I have One issue in OAuth Integration in My application I have Created One APP in Zoom Developer Account Given Redirect URL: [https://subdomine1.veesm.com/admin/callback](https://subdomine1.veesm.com/admin/callback) I have created access token with the above Redirect Url and Client id and client secret id. My application is [https://subdomine2.veesm.com](https://subdomine2.veesm.com) if i Click on Authorize Zoom Login in my application the call from Zoom is going back to this [https://subdomine1.veesm.com/admin/callback](https://subdomine1.veesm.com/admin/callback) URL. But i want to redirect to this domain [ht…](https://subdomine2.veesm.com)

> [@Invalid Redirect error on getting access token OAuth](https://devforum.zoom.us/t/-/12077):
>
> I have created a new app(OAuth) on Marketplace which is yet to be published. I want to use the Test credentials. But when I try to get access token from Zoom API reference portal. I get this error. Invalid redirect: [https://marketplace.zoom.us/docs/oauth/callback/success](https://marketplace.zoom.us/docs/oauth/callback/success) (4,700) Also I have already checked the Redirect URL for OAuth and Whitelist URL are same and both are https

If these threads 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

---

<div class="post-metadata">

**Author:** ![michaeljoelhall](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michaeljoelhall/32/13422_2.png) [@michaeljoelhall](https://devforum.zoom.us/u/michaeljoelhall)\
**Post date:** [August 13, 2020, 1:10pm UTC](https://devforum.zoom.us/t/oauth-redirect-error/26989/3 "2020-08-13T13:10:27Z")

</div>

I’m still in need of assistance. I get to the last step in Events Calendar Pro’s Virtual Events scheduler and I get the redirect error

---

<div class="post-metadata">

**Author:** ![cosmicgypsy33](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cosmicgypsy33/32/13472_2.png) [@cosmicgypsy33](https://devforum.zoom.us/u/cosmicgypsy33)\
**Post date:** [August 13, 2020, 4:24pm UTC](https://devforum.zoom.us/t/oauth-redirect-error/26989/4 "2020-08-13T16:24:44Z")

</div>

I have the same problem with the same plugin “The events calendar”  
client id: 9uoCBkpYTqiKTidqa6q2zg

 ![screenshot-events](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9b6e9b157aba00edd95fa969603b9beb2e06e652.jpeg)

Here is a short instruction from the plugin developer how to fix the problem, but it did not work.

> **[Troubleshooting the Zoom API | Knowledgebase | The Events Calendar](https://theeventscalendar.com/knowledgebase/k/troubleshooting-the-zoom-api/)**
>
> Connecting your calendar to Zoom is pretty straightforward, but it’s still possible that you’ll bump into trouble along the way. Let’s go over some those situations and how to overcome them. Invalid redirect This error is triggered directly by Zoom...

Best Regards

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 13, 2020, 6:46pm UTC](https://devforum.zoom.us/t/oauth-redirect-error/26989/5 "2020-08-13T18:46:20Z")

</div>

Hey @cosmicgypsy33, @michaeljoelhall,

Checkout my post here on how to fix your redirect url with the state param:

> [@Invalid Redirect URL (4,700) on valid redirect url](https://devforum.zoom.us/t/invalid-redirect-url-4-700-on-valid-redirect-url/15049/42):
>
> Hey @pcvetanov, Can you try moving your state query param to before the redirect uri? Like this: authorize\_url?client\_id=asdfasdf&state=asdf&redirect\_uri=https://zoom.us Let me know if that works! slight_smile Thanks, Tommy

Let me know if that helps!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![cosmicgypsy33](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cosmicgypsy33/32/13472_2.png) [@cosmicgypsy33](https://devforum.zoom.us/u/cosmicgypsy33)\
**Post date:** [August 14, 2020, 12:41am UTC](https://devforum.zoom.us/t/oauth-redirect-error/26989/6 "2020-08-14T00:41:30Z")

</div>

Hey Tommy, thanks for your answer.

In my case, it didn’t help to change the URL. Finally, I deactivated all plugins, deleted “The Events Calendar” and all related plugins and installed them again. Afterwards I could establish the API connection.

But now I get the following error message when I create a virtual event and want to create a zoom link for it:

 ![fehlermeldung](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9436b35fe818e491a09e449c823b063936107bbc.jpeg)

Thanks in advance

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 17, 2020, 11:42pm UTC](https://devforum.zoom.us/t/oauth-redirect-error/26989/7 "2020-08-17T23:42:48Z")

</div>

Hey @cosmicgypsy33,

Please reach out to the events calendar support for additional help since that error is on their side and they built the integration.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 17, 2020, 9:43am UTC](https://devforum.zoom.us/t/oauth-redirect-error/26989/8 "2020-09-17T09:43:07Z")

</div>

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