# How to allow list of URL's in Auth0 after mentioning particular path

**URL:** <https://community.auth0.com/t/how-to-allow-list-of-urls-in-auth0-after-mentioning-particular-path/59806>\
**Category:** Get Help\
**Tags:** callback-urls, login, auth0\
**Created:** [March 21, 2021, 3:38pm UTC](https://community.auth0.com/t/how-to-allow-list-of-urls-in-auth0-after-mentioning-particular-path/59806 "2021-03-21T15:38:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [March 23, 2021, 1:01pm UTC](https://community.auth0.com/t/how-to-allow-list-of-urls-in-auth0-after-mentioning-particular-path/59806/3 "2021-03-23T13:01:22Z")

</div>

Hi @vignesh.ramesh,

As mentioned in [this topic](https://community.auth0.com/t/allowed-callback-urls-ending-with-a-wildcard/7626/2), unfortunately you cannot use a wildcard to match several callback URLs. Instead the suggested way to handle multiple routes is to use a single callback route (e.g. /callback) and redirect to the desired route from within your application:

1. Store the following in localStorage: `randomStateValue` : `the URL pathname`.

2. Pass `randomStateValue` as the `state` parameter in the authentication request.

3. Check the state value in the callback, and retrieve the value for `randomStateValue` from localStorage.

4. Perform the redirect from within your application.

---

_[View the full topic](https://community.auth0.com/t/how-to-allow-list-of-urls-in-auth0-after-mentioning-particular-path/59806)._
