# Redirect URL for OAuth giving only code and not access\_token

**URL:** <https://devforum.zoom.us/t/redirect-url-for-oauth-giving-only-code-and-not-access-token/30055>\
**Category:** App Marketplace\
**Created:** [September 13, 2020, 11:40am UTC](https://devforum.zoom.us/t/redirect-url-for-oauth-giving-only-code-and-not-access-token/30055 "2020-09-13T11:40:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shersarayu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shersarayu/32/3918_2.png) [@shersarayu](https://devforum.zoom.us/u/shersarayu)\
**Post date:** [September 13, 2020, 11:40am UTC](https://devforum.zoom.us/t/redirect-url-for-oauth-giving-only-code-and-not-access-token/30055/1 "2020-09-13T11:40:10Z")

</div>

**Description**  
Redirect URL for OAuth giving only code and not access\_token

**Error**  
I get the code and not the access\_token

**Which App?**  
I have an app created here [https://marketplace.zoom.us/](https://marketplace.zoom.us/)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 14, 2020, 9:03pm UTC](https://devforum.zoom.us/t/redirect-url-for-oauth-giving-only-code-and-not-access-token/30055/2 "2020-09-14T21:03:59Z")

</div>

Hey @shersarayu,

That is the expected flow. Once you get the auth code, you use it to get an access\_token. Checkout the 2nd step here:

> **[OAuth 2.0 - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/oauth#step-2-request-access-token)**
>
> OAuth with Zoom
> 
> The Zoom API uses OAuth 2.0 to authenticate and authorize users to make requests. To setup access credentials and request scopes for yo...

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 15, 2020, 7:04am UTC](https://devforum.zoom.us/t/redirect-url-for-oauth-giving-only-code-and-not-access-token/30055/3 "2020-10-15T07:04:09Z")

</div>

Closed on October 15, 2020, 7:04am UTC

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