# API Key for Organization

**URL:** <https://community.auth0.com/t/api-key-for-organization/66925>\
**Category:** Get Help\
**Tags:** organizations, api, login, auth0\
**Created:** [July 28, 2021, 9:35am UTC](https://community.auth0.com/t/api-key-for-organization/66925 "2021-07-28T09:35:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![roneny](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/roneny/32/30251_2.png) [@roneny](https://community.auth0.com/u/roneny)\
**Post date:** [July 28, 2021, 9:35am UTC](https://community.auth0.com/t/api-key-for-organization/66925/1 "2021-07-28T09:35:09Z")

</div>

Hi,

I would like to generate a ClientID/Client Secret for an organization, is that possible?  
Context: Today for B2B scenario I can create an Organization that represent a customer of my company. The same way I define/invite users for his organization I would like to supply him ClientId/ClientSecret that he can use to access my secured API.

Thanks,  
Ronen

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 29, 2021, 3:21pm UTC](https://community.auth0.com/t/api-key-for-organization/66925/3 "2021-07-29T15:21:53Z")

</div>

Hi @roneny,

We don’t currently have support for client credentials grants + organizations, but there are plans for it. Could you provide more information about your use case?

Here is a similar thread for reference:

> [@Client Credentials Flow for Organisation](https://community.auth0.com/t/client-credentials-flow-for-organisation/66390/5):
>
> Hi @mattbrown1 - thanks for clarifying. This is not currently possible but we are planning to integrate Organizations & client\_credentials in a way similar to what you are describing. It would be helpful to understand your use-case a bit more: what does an organization represent in your product? What are these clients requesting access to?

---

<div class="post-metadata">

**Author:** ![roneny](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/roneny/32/30251_2.png) [@roneny](https://community.auth0.com/u/roneny)\
**Post date:** [August 2, 2021, 5:55am UTC](https://community.auth0.com/t/api-key-for-organization/66925/4 "2021-08-02T05:55:59Z")

</div>

Hi @dan.woda,

We are developing an enterprise solution where each customer of us is an organization in Auth0. Our customers interact with our product via UI and API. In the UI Auth0 provides a good solution where the customer provides the organization he belongs to in the login process and his token contains the org\_id. We would like to mimic the same process when using our APIs. The customer should be able to receive an ClientID/ClientSecret that is being generated on the organization level. After the login his token should also include the org\_id.  
I think that this scenario is similar to the reference you have pointed out below.

Thanks,  
Ronen

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 2, 2021, 4:09pm UTC](https://community.auth0.com/t/api-key-for-organization/66925/5 "2021-08-02T16:09:38Z")

</div>

@roneny Thanks for expanding on that.

---

<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 17, 2021, 4:10pm UTC](https://community.auth0.com/t/api-key-for-organization/66925/6 "2021-08-17T16:10:15Z")

</div>

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