# Cannot Submit App for Review Because Deauth Endpoint Doesn't Belong to Domain

**URL:** <https://devforum.zoom.us/t/cannot-submit-app-for-review-because-deauth-endpoint-doesnt-belong-to-domain/26463>\
**Category:** API and Webhooks\
**Created:** [August 6, 2020, 4:46pm UTC](https://devforum.zoom.us/t/cannot-submit-app-for-review-because-deauth-endpoint-doesnt-belong-to-domain/26463 "2020-08-06T16:46:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffatpresence](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeffatpresence/32/10256_2.png) [@jeffatpresence](https://devforum.zoom.us/u/jeffatpresence)\
**Post date:** [August 6, 2020, 4:46pm UTC](https://devforum.zoom.us/t/cannot-submit-app-for-review-because-deauth-endpoint-doesnt-belong-to-domain/26463/1 "2020-08-06T16:46:17Z")

</div>

**Description**  
We host our applications on Azure and I had to make my deauthorization endpoint an Azure serverless function because the application is only accessed by customer’s subdomain (e.g., [customera.presence.io](http://customera.presence.io), [customerb.presence.io](http://customerb.presence.io)) so I can’t create an endpoint like [https://presence.io/zoomdeauth](https://presence.io/zoomdeauth).

Because it’s a serverless application that’s handling the deauthorization, it has an azuredomain (\*.azurewebsites.net)

How can I get around this?

**Error**

#### The following URLs do not belong to the domain specified above

- [1. Endpoint URL (Deauthorization Notification)](https://marketplace.zoom.us/develop/apps/4INLIo_jTbK-HNmkvIN2Jw/information?check=true#deauthWebhookUrl)

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
It’s an OAuth app that has webhooks.

**Which Endpoint/s?**  
The deauthorization endpoint.

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Make the deauth endpoint different.
2. See error when submitting for review.

**Screenshots (If applicable)**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f6b7091a42b617655aca942221c4e63629a7e5e6.png)

---

<div class="post-metadata">

**Author:** ![Toshi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/toshi/32/13160_2.png) [@Toshi](https://devforum.zoom.us/u/Toshi)\
**Post date:** [August 6, 2020, 7:25pm UTC](https://devforum.zoom.us/t/cannot-submit-app-for-review-because-deauth-endpoint-doesnt-belong-to-domain/26463/2 "2020-08-06T19:25:16Z")

</div>

Same problems.  
I also use GCP and the domain is different.

for example,  
[https://mydomain.com](https://mydomain.com) // valid domain  
[https://region-mydomain.cloudfunctions.net/unauthorized](https://region-mydomain.cloudfunctions.net/unauthorized) // here is endpoint url

Please tell me how to resolve it.

---

<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 7, 2020, 9:28pm UTC](https://devforum.zoom.us/t/cannot-submit-app-for-review-because-deauth-endpoint-doesnt-belong-to-domain/26463/3 "2020-08-07T21:28:50Z")

</div>

Hey @Toshi, @jeffatpresence,

Can you set the deauth url to match the base url, and then route the [deauth request](https://marketplace.zoom.us/docs/guides/auth/deauthorization#event-notifications) based on the account ID in the payload to the proper sub domain customer endpoint?

Let me know if that doesn’t make sense. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![jeffatpresence](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeffatpresence/32/10256_2.png) [@jeffatpresence](https://devforum.zoom.us/u/jeffatpresence)\
**Post date:** [August 10, 2020, 4:51pm UTC](https://devforum.zoom.us/t/cannot-submit-app-for-review-because-deauth-endpoint-doesnt-belong-to-domain/26463/4 "2020-08-10T16:51:21Z")

</div>

I worked with our DevOps person and figured out how to use our domain with my serverless functions so we’re good now. Thanks @tommy!

---

<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 10, 2020, 7:34pm UTC](https://devforum.zoom.us/t/cannot-submit-app-for-review-because-deauth-endpoint-doesnt-belong-to-domain/26463/5 "2020-08-10T19:34:52Z")

</div>

Hey @jeffatpresence,

Great! Happy to hear you got it figured out! 🙂

Please let me know if you have any other questions!

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:** [August 20, 2020, 7:34pm UTC](https://devforum.zoom.us/t/cannot-submit-app-for-review-because-deauth-endpoint-doesnt-belong-to-domain/26463/6 "2020-08-20T19:34:53Z")

</div>

Closed on August 20, 2020, 7:34pm UTC

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