# Multi-tenancy credentials

**URL:** <https://devforum.okta.com/t/multi-tenancy-credentials/22474>\
**Category:** OAuth/OIDC\
**Created:** [November 17, 2022, 10:14pm UTC](https://devforum.okta.com/t/multi-tenancy-credentials/22474 "2022-11-17T22:14:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehamer](https://avatars.discourse-cdn.com/v4/letter/e/c37758/32.png) [@ehamer](https://devforum.okta.com/u/ehamer)\
**Post date:** [November 17, 2022, 10:14pm UTC](https://devforum.okta.com/t/multi-tenancy-credentials/22474/1 "2022-11-17T22:14:37Z")

</div>

I am creating an OIDC integration for OIN and I have it working for my Okta tenant. When I configure it so a user can login from their Okta dashboard, I have the initiate login URL specified, and when it is called, the tenant’s base URL is a query string parameter. Obviously, I need to use the base URL to call the authorize endpoint to get the code, the token, and ultimately the userinfo. When I am making these calls, I will need to use the new tenant’s client id, secret, etc. Will I need to have this information for each new tenant that I want to connect with?

---

<div class="post-metadata">

**Author:** ![okra-okta](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/okra-okta/32/2838_2.png) [@okra-okta](https://devforum.okta.com/u/okra-okta)\
**Post date:** [November 22, 2022, 11:03pm UTC](https://devforum.okta.com/t/multi-tenancy-credentials/22474/2 "2022-11-22T23:03:02Z")

</div>

Yes, that’s correct.

---

<div class="post-metadata">

**Author:** ![ehamer](https://avatars.discourse-cdn.com/v4/letter/e/c37758/32.png) [@ehamer](https://devforum.okta.com/u/ehamer)\
**Post date:** [November 23, 2022, 2:18pm UTC](https://devforum.okta.com/t/multi-tenancy-credentials/22474/3 "2022-11-23T14:18:26Z")

</div>

If I am going to then call their authorize end point, I need to provide a redirect URI to have them return to my site after they have been validated. Does this mean they will need to add my URI to their list of redirect URIs?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 10:23pm UTC](https://devforum.okta.com/t/multi-tenancy-credentials/22474/4 "2024-02-12T22:23:58Z")

</div>

Closed on February 12, 2024, 10:23pm UTC


