# Device Authorization: "unsupported grant type" requesting access token

**URL:** <https://devforum.zoom.us/t/device-authorization-unsupported-grant-type-requesting-access-token/85459>\
**Category:** Meeting SDK\
**Created:** [March 28, 2023, 3:25am UTC](https://devforum.zoom.us/t/device-authorization-unsupported-grant-type-requesting-access-token/85459 "2023-03-28T03:25:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gregor/32/46790_2.png) [@gregor](https://devforum.zoom.us/u/gregor)\
**Post date:** [March 28, 2023, 3:25am UTC](https://devforum.zoom.us/t/device-authorization-unsupported-grant-type-requesting-access-token/85459/1 "2023-03-28T03:25:17Z")

</div>

\_\_  
**Meeting SDK Type and Version**  
zoom-sdk-windows-5.13.10.13355  
My app is a Meeting SDK App

**STEPS**  
First get a device\_code like this:

_curl -X POST [https://zoom.us/oauth/devicecode](https://zoom.us/oauth/devicecode)  
-d ‘client\_id=’  
-d ‘client\_secret=’_

Visit the verification URI to add the app.

Now use the device code to request an access token.  
Here is the attempted POST:

\*curl -X POST [https://zoom.us/oauth/token](https://zoom.us/oauth/token) \*  
\*-H ‘Content-Type: application/x-www-form-urlencoded’ \*  
\*-H ‘Host: [zoom.us](http://zoom.us)’ \*  
\*-H ‘Authorization: Basic ’ \*  
_-d ‘device\_code=&grant\_type=urn:ietf:params:oauth:grant-type:device\_code’_

Here is the error response:  
_{_

- “reason”: “unsupported grant type”,\*
- “error”: “unsupported\_grant\_type”\*  
_}_

**Troubleshooting Routes**  
I am able to use my server-to-server OAuth flow to create access tokens, but I need to figure out device authorization for this app.  
App is Live, but not published (no intention to publish)

**How To Reproduce**  
See steps above.  
Using Chrome on Windows 10
