# Adding parameters to callback URLs

**URL:** <https://community.auth0.com/t/adding-parameters-to-callback-urls/111853>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [July 22, 2023, 12:17am UTC](https://community.auth0.com/t/adding-parameters-to-callback-urls/111853 "2023-07-22T00:17:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![canderson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/canderson/32/49168_2.png) [@canderson](https://community.auth0.com/u/canderson)\
**Post date:** [July 22, 2023, 12:17am UTC](https://community.auth0.com/t/adding-parameters-to-callback-urls/111853/1 "2023-07-22T00:17:23Z")

</div>

So I have a website with several pages that use GET parameters and are called like this:

`/staff/00500A` which IIS redirects to `/staff.php?Staff=00500A`  
and  
`/project/20230567.001` which IIS redirects to `/project.php?Prj=20230567.001`

So I’m trying to figure out how to list callbacks with something like `https://www.domain.com/staff/*` (Which, yes, I know does not work).

I’ve seen questions similar to this in the forums, but never one that has been answered.

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [July 24, 2023, 8:29pm UTC](https://community.auth0.com/t/adding-parameters-to-callback-urls/111853/3 "2023-07-24T20:29:40Z")

</div>

Hi @canderson,

Welcome to the Auth0 Community!

> [@canderson](#):
>
> So I’m trying to figure out how to list callbacks with something like `https://www.domain.com/staff/*` (Which, yes, I know does not work).

Unfortunately, as you have discovered, calling a wildcard at the end of your URL will not work and can make your application vulnerable to attacks. A `redirect_uri` with the value of `https://www.domain.com/staff/staff.php?Staff=88888A` would be considered valid even if there were no staff with that value.

Some options around this would be to:

1. Include each URL to the list of **Allowed Callback URLs** as there is no limit on the number of callback URLs.
2. Redirect to a common URL such as the app’s home page

Here are some helpful resources for your reference:

- [Redirect Users](https://auth0.com/docs/authenticate/login/redirect-users-after-login)
- [Subdomain URL Placeholders](https://auth0.com/docs/get-started/applications/wildcards-for-subdomains)

Please let me know if you have any questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 7, 2023, 8:30pm UTC](https://community.auth0.com/t/adding-parameters-to-callback-urls/111853/4 "2023-08-07T20:30:13Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
