Is wildcard entry allowed in URL pathname

Hello everyone,

In my project, we don’t host anything directly on www.example.com. Instead, our hosting structure is like www.example.com/en/dashboard. I’ve added callback URLs to accommodate this setup, but I want to simplify the callback URL format to something like www.example.com/*/auth/callback. Specifically, I want to use a wildcard for the language (en) or pathname. Is this allowed? I haven’t found any relevant information on this topic.

Hi @rajkums,

Welcome to the Auth0 Community!

Unfortunately, using wildcards in routes for your Allowed Callback URLs is not allowed because it can make your application vulnerable to attacks. The Allowed Callback URLs must be exact URLs. (Reference: Application Settings - Callback URLs)

One option you might try is to have a callback URL for each language specific path.
However, please note that there is a limit of 100 URLs for performance reasons, as mentioned in our Increase allowed callback urls entity limit knowledge article.

Let me know if you have any further questions.

Thanks,
Rueben