# Change client Id dynamically

**URL:** <https://community.auth0.com/t/change-client-id-dynamically/19695>\
**Category:** Get Help\
**Tags:** react, auth0\
**Created:** [January 7, 2019, 4:34am UTC](https://community.auth0.com/t/change-client-id-dynamically/19695 "2019-01-07T04:34:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikhilpathania.nits](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@nikhilpathania.nits](https://community.auth0.com/u/nikhilpathania.nits)\
**Post date:** [January 7, 2019, 4:34am UTC](https://community.auth0.com/t/change-client-id-dynamically/19695/1 "2019-01-07T04:34:04Z")

</div>

I am implementing a flow in which I have multiple client app inside auth0 tenant.  
My authentication flow consists of authentication by default client app and getting token based on that. Now after getting the token I want to switch to different client app in same auth0 tenant and get the new token. As both client app are in same auth0 tenant, I guess authentication again is not required. My major concern is how can I switch the client Id dynamically in react. Is it possible.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 23, 2019, 10:45pm UTC](https://community.auth0.com/t/change-client-id-dynamically/19695/3 "2019-01-23T22:45:06Z")

</div>

Hi there @nikhilpathania.nits, we have some details that may help you in your pursuits in the the form of our [Using Auth0 with Multi-Tenant Applications](https://auth0.com/docs/design/using-auth0-with-multi-tenant-apps). Please let me know if this helps you in your quest, thanks!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 28, 2019, 4:02pm UTC](https://community.auth0.com/t/change-client-id-dynamically/19695/4 "2019-01-28T16:02:52Z")

</div>

I wanted to touch base @nikhilpathania.nits and see if I could be of any more assistance on this subject.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [February 11, 2019, 8:02pm UTC](https://community.auth0.com/t/change-client-id-dynamically/19695/5 "2019-02-11T20:02:55Z")

</div>

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