Wildcards for Subdomains
You can use wildcards for subdomain URL registration in your application configuration in the Dashboard with these fields:
- Allowed Callback URLs: Set of URLs to which Auth0 is allowed to redirect users after they authenticate.
- Allowed Logout URLs: List of URLs to which you can redirect users after they log out from Auth0.
You can use the star symbol (
*) as a wildcard for subdomains, but it must be used in accordance with the following rules in order to properly function:
The protocol of the URL must be
com.example.app://*.example.comwill not work.
The wildcard must be located in a subdomain within the hostname component.
https://*.comwill not work.
The wildcard must be located in the subdomain furthest from the root domain.
https://sub.*.example.comwill not work.
The URL must not contain more than one wildcard.
https://*.*.example.comwill not work.
A wildcard may be prefixed and/or suffixed with additional valid hostname characters.
A URL with a valid wildcard will not match a URL more than one subdomain level in place of the wildcard.
https://*.example.comwill not work with