# Organization\_name placeholder not working

**URL:** <https://community.auth0.com/t/organization-name-placeholder-not-working/163531>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [December 16, 2024, 8:44pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531 "2024-12-16T20:44:59Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpayton-tes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jpayton-tes/32/63756_2.png) [@jpayton-tes](https://community.auth0.com/u/jpayton-tes)\
**Post date:** [December 16, 2024, 8:44pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/1 "2024-12-16T20:44:59Z")

</div>

Hello,

we have a single page app that we’re building, and we’re having an issue getting the {organization\_name} placeholder in the allowed callbacks to work. from what I can tell in the documentation we aren’t doing anything wrong - the url is listed in the application config as `https://{organization_name}.dev.ourdomain.com` (changed the actual domain for privacy)

when we try to login through an organization specific domain, IE `https://testorg.dev.ourdomain.com` we get an error saying ‘The provided redirect\_uri is not in the list of allowed callback URLs.’

We have the app configured to allow both personal and organization logins, and I double checked that we’re using the correct name of one of our registered organizations, and we are. Also, if I change the application config to use the \* wildcard instead `https://*.dev.ourdomain.com` everything works fine.

Am I misunderstanding how to use the organization\_name placeholder?

I found a few topics similar to this one, but no answers for this particular issue

---

<div class="post-metadata">

**Author:** ![sumansaurav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sumansaurav/32/70627_2.png) [@sumansaurav](https://community.auth0.com/u/sumansaurav)\
**Post date:** [December 16, 2024, 11:09pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/2 "2024-12-16T23:09:06Z")

</div>

Hi @jpayton-tes,

Did you get a chance to look at this documentation with respect to `organization_name`?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/7/2/72a3b6e11ce4e9aa92f2643dae253f50b3dda781.png)

> **[Subdomain URL Placeholders](https://manage.rock-client-dev.auth0.com/docs/get-started/applications/wildcards-for-subdomains#organization-url-placeholders)**
>
> Describes placeholders, including wildcard and organization placeholders, for subdomains function in application configuration.

> **[Application Settings](https://manage.rock-client-dev.auth0.com/docs/get-started/applications/application-settings#application-uris)**
>
> Describe the settings related to applications available in the Auth0 Dashboard.

---

<div class="post-metadata">

**Author:** ![jpayton-tes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jpayton-tes/32/63756_2.png) [@jpayton-tes](https://community.auth0.com/u/jpayton-tes)\
**Post date:** [December 16, 2024, 11:32pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/3 "2024-12-16T23:32:32Z")

</div>

@sumansaurav yes, I’ve read that document and did my best to make sure we were following its rules.  
my understanding is that `https://{organization_name}.dev.ourdomain.com` should be a valid entry, and that if we have an organization with a name of ‘testorg’ our app should allow callbacks to `https://testorg.dev.ourdomain.com` right?

am I missing something?

---

<div class="post-metadata">

**Author:** ![jpayton-tes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jpayton-tes/32/63756_2.png) [@jpayton-tes](https://community.auth0.com/u/jpayton-tes)\
**Post date:** [December 16, 2024, 11:35pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/4 "2024-12-16T23:35:09Z")

</div>

I also checked the authorize redirect and it is setting the correct org id in the organization param

---

<div class="post-metadata">

**Author:** ![sumansaurav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sumansaurav/32/70627_2.png) [@sumansaurav](https://community.auth0.com/u/sumansaurav)\
**Post date:** [December 16, 2024, 11:40pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/5 "2024-12-16T23:40:31Z")

</div>

You are doing it right.

Can you also check and let me know if organization placeholder and wildcard present in same configuration? If yes, you should only be using organization place holder not wildcard in same configuration.

---

<div class="post-metadata">

**Author:** ![jpayton-tes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jpayton-tes/32/63756_2.png) [@jpayton-tes](https://community.auth0.com/u/jpayton-tes)\
**Post date:** [December 17, 2024, 12:01am UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/6 "2024-12-17T00:01:47Z")

</div>

no, we only have the one url with the place holder. We do have other variations of that domain in the list, as well as entries for localhost, but none of them are using any placeholders or wildcards.

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [December 17, 2024, 4:54pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/8 "2024-12-17T16:54:24Z")

</div>

Hi @jpayton-tes,

Welcome to the Auth0 Community!

I’ve read through this thread and have reached out internally to confirm expected behavior with `organization_name` in the Allowed Callback URLs field. I will keep you updated.

Best,

Mary Beth

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [December 17, 2024, 7:13pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/10 "2024-12-17T19:13:24Z")

</div>

Hi @jpayton-tes,

I confirmed with product manager that the URL of `https://testorg.dev.ourdomain.com` should work as it follows all rules listed here: [Organization URL Placeholders](https://auth0.com/docs/get-started/applications/wildcards-for-subdomains#organization-url-placeholders)

They recommended I open a up a ticket to the Engineering team for them to take a closer look at why this is not working for you. I will need a bit more information from you before I can do that. Can you kindly DM me the tenant name where you are implementing this, any relevant code/URL snippets, and capture a few screenshots showing the error?

Thanks,

Mary Beth

---

<div class="post-metadata">

**Author:** ![jpayton-tes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jpayton-tes/32/63756_2.png) [@jpayton-tes](https://community.auth0.com/u/jpayton-tes)\
**Post date:** [December 17, 2024, 9:37pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/11 "2024-12-17T21:37:29Z")

</div>

Thanks @marybeth.hunter! I’ll collect some information and send it to you soon

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [December 18, 2024, 6:14pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/13 "2024-12-18T18:14:01Z")

</div>

Hi @jpayton-tes,

In your `/authorize` request, can you use `organization` as the parameter instead of `organizationId` and see if that works?

Best,

Mary Beth

---

<div class="post-metadata">

**Author:** ![jpayton-tes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jpayton-tes/32/63756_2.png) [@jpayton-tes](https://community.auth0.com/u/jpayton-tes)\
**Post date:** [December 18, 2024, 6:50pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/14 "2024-12-18T18:50:41Z")

</div>

Hi @marybeth.hunter! We actually noticed that param key was wrong just a couple hours ago because of a completely unrelated issue! Unfortunately I have no control over the UI code that’s having the issue, but our UI team has a fix that should get deployed soon. once it is, I’ll change our auth0 config and test.

Will report back when I have results!  
Thanks,  
Josh

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [December 18, 2024, 6:58pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/15 "2024-12-18T18:58:21Z")

</div>

@jpayton-tes,

Great! Looking forward to your reply!

Thanks,

Mary Beth

---

<div class="post-metadata">

**Author:** ![jpayton-tes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jpayton-tes/32/63756_2.png) [@jpayton-tes](https://community.auth0.com/u/jpayton-tes)\
**Post date:** [December 20, 2024, 9:13pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/16 "2024-12-20T21:13:07Z")

</div>

Sorry for the delay, looks like fixing the organization url param fixed the issue!

Thanks for all your help!

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [December 30, 2024, 2:50pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/17 "2024-12-30T14:50:15Z")

</div>

@jpayton-tes,

Great - happy to hear it!! Have a good one 🙂

Thanks,

Mary Beth

---

<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:** [January 13, 2025, 2:50pm UTC](https://community.auth0.com/t/organization-name-placeholder-not-working/163531/18 "2025-01-13T14:50:24Z")

</div>

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