# "Any" in OAuth Allow list doesn't work

**URL:** <https://devforum.zoom.us/t/any-in-oauth-allow-list-doesnt-work/88204>\
**Category:** App Marketplace\
**Tags:** marketplace\
**Created:** [May 11, 2023, 3:59am UTC](https://devforum.zoom.us/t/any-in-oauth-allow-list-doesnt-work/88204 "2023-05-11T03:59:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kate.shutova](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kate.shutova/32/39779_2.png) [@kate.shutova](https://devforum.zoom.us/u/kate.shutova)\
**Post date:** [May 11, 2023, 3:59am UTC](https://devforum.zoom.us/t/any-in-oauth-allow-list-doesnt-work/88204/1 "2023-05-11T03:59:57Z")

</div>

I want to use zoom application with multiple environments. There is info that I can use “any” for this: [https://developers.zoom.us/docs/integrations/oauth/#using-multiple-environments](https://developers.zoom.us/docs/integrations/oauth/#using-multiple-environments). I added “any” as subdomain in redirect url in OAuth allow list section of zoom application settings. After that I try to execute next request: [Error - Zoom](https://zoom.us:443/oauth/authorize?client_id=%7BclientId%7D)  
&response\_type=code  
&redirect\_uri=[https://any.example.com](https://any.example.com)  
&state=12345  
But I ge error: Invalid redirect: [https://any.example.com](https://any.example.com) (4,700)  
What’s wrong?

---

<div class="post-metadata">

**Author:** ![kwaku.nyante](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kwaku.nyante/32/23475_2.png) [@kwaku.nyante](https://devforum.zoom.us/u/kwaku.nyante)\
**Post date:** [May 11, 2023, 3:12pm UTC](https://devforum.zoom.us/t/any-in-oauth-allow-list-doesnt-work/88204/2 "2023-05-11T15:12:02Z")

</div>

Hello @kate.shutova wildcards cannot be used in our environment. Sorry about that

Regards, Kwaku

---

<div class="post-metadata">

**Author:** ![kate.shutova](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kate.shutova/32/39779_2.png) [@kate.shutova](https://devforum.zoom.us/u/kate.shutova)\
**Post date:** [May 11, 2023, 11:17pm UTC](https://devforum.zoom.us/t/any-in-oauth-allow-list-doesnt-work/88204/3 "2023-05-11T23:17:49Z")

</div>

Hello @kwaku.nyante! In such case why there is info that I can use “any”? [https://developers.zoom.us/docs/integrations/oauth/#using-multiple-environments](https://developers.zoom.us/docs/integrations/oauth/#using-multiple-environments)

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 12, 2023, 1:21pm UTC](https://devforum.zoom.us/t/any-in-oauth-allow-list-doesnt-work/88204/4 "2023-05-12T13:21:29Z")

</div>

Hi @kate.shutova  
Jumping on this thread to add some extra information.  
You are correct you can use “any” to support multiple domains.  
Make sure to add the URI for your development and production redirect URL and also make sure to add it to your allow list.

---

<div class="post-metadata">

**Author:** ![kate.shutova](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kate.shutova/32/39779_2.png) [@kate.shutova](https://devforum.zoom.us/u/kate.shutova)\
**Post date:** [May 12, 2023, 9:38pm UTC](https://devforum.zoom.us/t/any-in-oauth-allow-list-doesnt-work/88204/5 "2023-05-12T21:38:30Z")

</div>

I did this, but it doesn’t work.  
I added to the section **OAuth allow list** → **Add allow lists** of my zoom app settings next redirect url [https://any.example.com](https://any.example.com)  
and I use this link:  
[https://zoom.us/oauth/authorize?client\_id={my\_client\_id}&response\_type=code&redirect\_uri=https://any.example.com&state=12345](https://zoom.us/oauth/authorize?client_id=%7Bmy_client_id%7D&response_type=code&redirect_uri=https://any.example.com&state=12345)  
but I get this error: Invalid redirect: [https://sub1.example.com](https://sub1.example.com) (4,700)  
What can be wrong?  
@elisa.zoom @kwaku.nyante

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 15, 2023, 5:29pm UTC](https://devforum.zoom.us/t/any-in-oauth-allow-list-doesnt-work/88204/6 "2023-05-15T17:29:43Z")

</div>

Hi @kate.shutova

Thanks for your patience here.  
I have sent you a Direct Message with some follow up details 🙂

---

<div class="post-metadata">

**Author:** ![kate.shutova](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kate.shutova/32/39779_2.png) [@kate.shutova](https://devforum.zoom.us/u/kate.shutova)\
**Post date:** [June 6, 2023, 6:59pm UTC](https://devforum.zoom.us/t/any-in-oauth-allow-list-doesnt-work/88204/7 "2023-06-06T18:59:43Z")

</div>

@elisa.zoom I checked that “any” doesn’t work for published app too, maybe there are other reasons why “any” doesn’t work for me?

---

<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:** [June 10, 2023, 2:00pm UTC](https://devforum.zoom.us/t/any-in-oauth-allow-list-doesnt-work/88204/8 "2023-06-10T14:00:22Z")

</div>

Closed on June 10, 2023, 2:00pm UTC

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