# Problem with wildcard subdomains

**URL:** <https://community.auth0.com/t/problem-with-wildcard-subdomains/38571>\
**Category:** Get Help\
**Created:** [February 27, 2020, 11:08am UTC](https://community.auth0.com/t/problem-with-wildcard-subdomains/38571 "2020-02-27T11:08:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wieswerner](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wieswerner/32/14589_2.png) [@wieswerner](https://community.auth0.com/u/wieswerner)\
**Post date:** [February 27, 2020, 11:08am UTC](https://community.auth0.com/t/problem-with-wildcard-subdomains/38571/1 "2020-02-27T11:08:59Z")

</div>

We are creating a portal that will have a subdomain per client eg [https://client1.myproductname.com](https://client1.myproductname.com).

In my Auth0 Single Page Application Client I have configured Allowed Callback URLs, Allowed Web Origins, and Allowed Logout URLs to include → https://\*.myproductname.com (as is indicated in the text under the textbox)

When I browse to the URL ‘[https://client1.myproductname.com](https://client1.myproductname.com)’ I can sign in using my user account, but when I get redirected back to my site I just get a blank screen. When I use F12 to inspect network, the authorize API call fails with the error message: **invalid\_request** : The specified redirect\_uri ‘[https://client1.myproductname.com](https://client1.myproductname.com)’ does not have a registered origin.

Has anyone else encountered this problem or know how to fix it?

---

<div class="post-metadata">

**Author:** ![mathiasconradt](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mathiasconradt/32/12758_2.png) [@mathiasconradt](https://community.auth0.com/u/mathiasconradt)\
**Post date:** [March 7, 2020, 10:52pm UTC](https://community.auth0.com/t/problem-with-wildcard-subdomains/38571/2 "2020-03-07T22:52:41Z")

</div>

As I see it, wildcards are only allowed for `Allowed Logout Urls` and `Allowed Web Origin`, but not for subdomains in `Allowed Callback URLs`. The wildcard hint also isn’t below the `Allowed Callback URLs` input field.

Also see

> [@How come "Allowed Web Origins" does not allow wildcards?](http://community.auth0.com/t/how-come-allowed-web-origins-does-not-allow-wildcards/9185/26):
>
> Hi everyone. I just wanted to clarify the reasoning behind the decision of not supporting wildcards: as Matias says we are following recommendations on IETF’s [OAuth 2.0 Threat Model and Security Considerations](https://tools.ietf.org/html/rfc6819#section-5.2.3.5). There are many examples of security exploits that took advantage of wildcards usage in domain listing. We understand the added friction that this causes but decided to opt for the more secure option of being explicit on the domains allowed. As some pointed out, older fields still suppor…

and related thread

> [@Allowed Callback URLs field limitations?](http://community.auth0.com/t/allowed-callback-urls-field-limitations/30821/12):
>
> There is no hard limit on that field it’s a recommendation. There’s just no guarantee that it will be unrestricted forever. Enterprise doesn’t help here.
