# Issue: multi tenant setup from auth0-sample

**URL:** <https://community.auth0.com/t/issue-multi-tenant-setup-from-auth0-sample/10445>\
**Category:** Get Help\
**Tags:** multi-tenant, github\
**Created:** [March 28, 2018, 11:43am UTC](https://community.auth0.com/t/issue-multi-tenant-setup-from-auth0-sample/10445 "2018-03-28T11:43:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![clovis1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@clovis1](https://community.auth0.com/u/clovis1)\
**Post date:** [March 28, 2018, 11:43am UTC](https://community.auth0.com/t/issue-multi-tenant-setup-from-auth0-sample/10445/1 "2018-03-28T11:43:52Z")

</div>

Hello,

Not sure if it is the right place to post that, .

- What are you trying to achieve? What is the use case or idea behind it?  
I’m trying to evaluate multitenant app with auth0, but I’m stuck in the setup, I opened an issue: [https://github.com/auth0-samples/auth0-multitenant-website/issues/14](https://github.com/auth0-samples/auth0-multitenant-website/issues/14)

- If this is caused by an SDK please mention the SDK along with the specific version number.  
Don’t think this is sdk, but I following these steps : [https://github.com/auth0-samples/auth0-multitenant-website](https://github.com/auth0-samples/auth0-multitenant-website)

- Is this easily reproducible? If not, please explain.  
Yes.

- If this is related to Lock / any SDK please share the SDK as well as lock initialization code or any code that is relevant.  
No

Thanks

---

<div class="post-metadata">

**Author:** ![sgmeyer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgmeyer/32/3387_2.png) [@sgmeyer](https://community.auth0.com/u/sgmeyer)\
**Post date:** [March 28, 2018, 3:27pm UTC](https://community.auth0.com/t/issue-multi-tenant-setup-from-auth0-sample/10445/2 "2018-03-28T15:27:48Z")

</div>

Hey there,

I am one of the original authors of this sample. This was built a while back for the purposes of a webinar and it has not been updated since and likely will need to handle some new changes in auth0 like claim namespacing. I’ll take a look at what might be the cause and push a fix as soon as possible. I’ll update here once I am done.

After I fix this issue I am going to be archiving this repository so that it doesn’t cause concern in the future. I’ll also follow up on your issue in GitHub once I take a look. Sorry for the confusion here.

Shawn

---

<div class="post-metadata">

**Author:** ![sgmeyer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgmeyer/32/3387_2.png) [@sgmeyer](https://community.auth0.com/u/sgmeyer)\
**Post date:** [March 28, 2018, 7:40pm UTC](https://community.auth0.com/t/issue-multi-tenant-setup-from-auth0-sample/10445/3 "2018-03-28T19:40:14Z")

</div>

Hey there,

I went ahead and updated this sample. In the end the sample was created before Auth0 forced namespaces for clients (pre-OIDC conformance). Since then, custom claims are now requiring namespaces in the JWT. I updated this application to use an expected namespace and everything should be working.

Here is a commit for that change if you are interested:

[https://github.com/auth0-samples/auth0-multitenant-website/commit/6b02c5f616863b8c96c68fcaad2380b23aef1e93](https://github.com/auth0-samples/auth0-multitenant-website/commit/6b02c5f616863b8c96c68fcaad2380b23aef1e93)

Regards,

Shawn

---

<div class="post-metadata">

**Author:** ![clovis1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@clovis1](https://community.auth0.com/u/clovis1)\
**Post date:** [April 7, 2018, 7:37am UTC](https://community.auth0.com/t/issue-multi-tenant-setup-from-auth0-sample/10445/4 "2018-04-07T07:37:36Z")

</div>

Hey, thanks for the update, I noticed two missing update so I commented the issue : [Enhance auth0 setup part 4 : rule · Issue #14 · auth0-samples/auth0-multitenant-website · GitHub](https://github.com/auth0-samples/auth0-multitenant-website/issues/14)

I pull and locally fix it, it works ! thanks 🙂

---

<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:** [April 11, 2018, 7:37am UTC](https://community.auth0.com/t/issue-multi-tenant-setup-from-auth0-sample/10445/5 "2018-04-11T07:37:44Z")

</div>

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