# Unable to use grant\_type 'client credentials' to refresh Management API token while using organizations

**URL:** <https://community.auth0.com/t/unable-to-use-grant-type-client-credentials-to-refresh-management-api-token-while-using-organizations/64463>\
**Category:** Get Help\
**Tags:** organizations\
**Created:** [June 14, 2021, 3:08pm UTC](https://community.auth0.com/t/unable-to-use-grant-type-client-credentials-to-refresh-management-api-token-while-using-organizations/64463 "2021-06-14T15:08:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfrazee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dfrazee/32/30007_2.png) [@dfrazee](https://community.auth0.com/u/dfrazee)\
**Post date:** [June 14, 2021, 3:08pm UTC](https://community.auth0.com/t/unable-to-use-grant-type-client-credentials-to-refresh-management-api-token-while-using-organizations/64463/1 "2021-06-14T15:08:28Z")

</div>

Hi,

I am using Organizations in my application with ‘Organization Settings’ being set to ‘Team members of organizations’. This disallows the use of ‘client credentials’ as a grant type for the application, which prevents me from refreshing my Management API token. Is there an alternative way to refresh the Management API Token while keeping the Organization settings as-is?

---

<div class="post-metadata">

**Author:** ![adam.housman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adam.housman/32/19907_2.png) [@adam.housman](https://community.auth0.com/u/adam.housman)\
**Post date:** [June 14, 2021, 5:58pm UTC](https://community.auth0.com/t/unable-to-use-grant-type-client-credentials-to-refresh-management-api-token-while-using-organizations/64463/2 "2021-06-14T17:58:50Z")

</div>

Hi @dfrazee, you can use the Organizations-enabled application for end-user login, and create a separate Auth0 M2M application for client credentials access: [Using Machine to Machine (M2M) Authorization](https://auth0.com/blog/using-m2m-authorization/)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 15, 2021, 8:39am UTC](https://community.auth0.com/t/unable-to-use-grant-type-client-credentials-to-refresh-management-api-token-while-using-organizations/64463/3 "2021-06-15T08:39:02Z")

</div>

Thanks for helping with this one Adam!

---

<div class="post-metadata">

**Author:** ![dfrazee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dfrazee/32/30007_2.png) [@dfrazee](https://community.auth0.com/u/dfrazee)\
**Post date:** [June 15, 2021, 2:40pm UTC](https://community.auth0.com/t/unable-to-use-grant-type-client-credentials-to-refresh-management-api-token-while-using-organizations/64463/4 "2021-06-15T14:40:48Z")

</div>

Can confirm this worked! Thanks for your quick response!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 15, 2021, 2:43pm UTC](https://community.auth0.com/t/unable-to-use-grant-type-client-credentials-to-refresh-management-api-token-while-using-organizations/64463/5 "2021-06-15T14:43:02Z")

</div>

We are here for you!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 25, 2021, 11:19am UTC](https://community.auth0.com/t/unable-to-use-grant-type-client-credentials-to-refresh-management-api-token-while-using-organizations/64463/6 "2021-06-25T11:19:42Z")

</div>


