# This API does not support client credentials for authorization while migrating from jwt to oauth

**URL:** <https://devforum.zoom.us/t/this-api-does-not-support-client-credentials-for-authorization-while-migrating-from-jwt-to-oauth/96564>\
**Category:** Ionic\
**Tags:** video-sdk\
**Created:** [October 11, 2023, 4:41am UTC](https://devforum.zoom.us/t/this-api-does-not-support-client-credentials-for-authorization-while-migrating-from-jwt-to-oauth/96564 "2023-10-11T04:41:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 11, 2023, 1:59pm UTC](https://devforum.zoom.us/t/this-api-does-not-support-client-credentials-for-authorization-while-migrating-from-jwt-to-oauth/96564/2 "2023-10-11T13:59:12Z")

</div>

> [@dealmoney](#):
>
> This API does not support client credentials for authorization

Hi @dealmoney , I have seen this with developers attempting to use Server-to-Server OAuth incorrectly:

> [@Error "This API does not support client credentials for authorization." when trying to call an endpoint with Server-to-Server OAuth App credentials](https://devforum.zoom.us/t/error-this-api-does-not-support-client-credentials-for-authorization-when-trying-to-call-an-endpoint-with-server-to-server-oauth-app-credentials/85028/9):
>
> @lamaisondessavoirs if you are using user authorized OAuth, please use the method mentioned here [[OAuth for user authorized apps](https://developers.zoom.us/docs/integrations/oauth/)] Use " grant\_type as “authorization\_code” instead of client\_creentials

> [@This API does not support client credentials for authorization](https://devforum.zoom.us/t/this-api-does-not-support-client-credentials-for-authorization/94848):
>
> Hello, I am attempting to update to the OAuth from the JWT and ran into a problem. I have created a server-to-server-oauth app and have the keys. I can retrieve a token but when I try to use the token, it returns the error, “This API does not support client credentials for authorization.” From what I can find in the forums, I need to change the grant type from “client\_credentials” to “account\_credentials”. However, that returns “invalid request” This is in PHP, and I am using the package “leag…

Please note that Meeting SDK JWT is different from the deprecated JWT app-type. Meeting SDK JWT is still valid. Auth directions are here: [Meeting SDK Auth](https://developers.zoom.us/docs/meeting-sdk/auth/)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/c/6cc88b827376ce6c1c3946442d3519c1e7308747.png)

---

_[View the full topic](https://devforum.zoom.us/t/this-api-does-not-support-client-credentials-for-authorization-while-migrating-from-jwt-to-oauth/96564)._
