# "Invalid grant types: client\_credentials" when setting Grant Types to OTP or Password

**URL:** <https://community.auth0.com/t/invalid-grant-types-client-credentials-when-setting-grant-types-to-otp-or-password/54415>\
**Category:** Get Help\
**Created:** [December 6, 2020, 3:06pm UTC](https://community.auth0.com/t/invalid-grant-types-client-credentials-when-setting-grant-types-to-otp-or-password/54415 "2020-12-06T15:06:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JanC](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/janc/32/24618_2.png) [@JanC](https://community.auth0.com/u/JanC)\
**Post date:** [December 6, 2020, 3:06pm UTC](https://community.auth0.com/t/invalid-grant-types-client-credentials-when-setting-grant-types-to-otp-or-password/54415/1 "2020-12-06T15:06:29Z")

</div>

Hi,  
I created a new native application but I’m unable to enable the `Password` and `Passwordless OTP``Grant Types` in `Application > Settings > Show Advanced` .

I get the a UI error “Invalid grant types: client\_credentials” when applying the settings

 ![Screenshot 2020-12-06 at 16.03.03](https://global.discourse-cdn.com/auth0/original/3X/d/0/d07dc927e78f9535cb7a0f7a133cd9d7addcefc0.png)

Changing the app type to SPA and back to Native as [suggested here](https://community.auth0.com/t/error-invalid-grant-types-client-credentials-while-setting-up-client/7171/13) does not work

[This workaround](https://community.auth0.com/t/error-invalid-grant-types-client-credentials-grant-types/38520) also does not work

Any tips?

---

<div class="post-metadata">

**Author:** ![JanC](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/janc/32/24618_2.png) [@JanC](https://community.auth0.com/u/JanC)\
**Post date:** [December 6, 2020, 8:09pm UTC](https://community.auth0.com/t/invalid-grant-types-client-credentials-when-setting-grant-types-to-otp-or-password/54415/2 "2020-12-06T20:09:42Z")

</div>

I found the problem and the solution. This happens when the `Client Credentials` grants are enabled. So to disable them I had to

- Switch the app to a `Regular Web Application`
- Set the `Token Endpoint Authentication Method` temporarily to something else than `None`
- This allows to uncheck the `Client Credentials` grants
- Save and then set again `Token Authentication` to `None` and application type to `Native`

Then I was able to set the Grants to OTP and Password

---

<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:** [December 7, 2020, 8:28am UTC](https://community.auth0.com/t/invalid-grant-types-client-credentials-when-setting-grant-types-to-otp-or-password/54415/3 "2020-12-07T08:28:30Z")

</div>

Glad you’ve found it and thanks for sharing it with the rest of community!

---

<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:** [December 8, 2020, 9:58am UTC](https://community.auth0.com/t/invalid-grant-types-client-credentials-when-setting-grant-types-to-otp-or-password/54415/4 "2020-12-08T09:58:32Z")

</div>


