# Not receiving access\_token in auth request

**URL:** <https://devforum.zoom.us/t/not-receiving-access-token-in-auth-request/27306>\
**Category:** API and Webhooks\
**Created:** [August 16, 2020, 4:53pm UTC](https://devforum.zoom.us/t/not-receiving-access-token-in-auth-request/27306 "2020-08-16T16:53:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![taylor2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/taylor2/32/13599_2.png) [@taylor2](https://devforum.zoom.us/u/taylor2)\
**Post date:** [August 16, 2020, 4:53pm UTC](https://devforum.zoom.us/t/not-receiving-access-token-in-auth-request/27306/1 "2020-08-16T16:53:09Z")

</div>

**Description**  
I am stuck on getting the access\_token and refresh\_token from the second step of the oauth tutorial. [https://marketplace.zoom.us/docs/guides/auth/oauth#step-2-request-access-token](https://marketplace.zoom.us/docs/guides/auth/oauth#step-2-request-access-token).

**Error**  
The error is in the SO question I made as well.

> <https://stackoverflow.com/questions/63438881/send-zoom-authorization-code-request-in-rails-not-returning-tokens>

Also, Adding the params to the url as query params sends the same response  
EG. “…/token?code=#{code}&grant\_type=authorization\_code&redirect\_uri=#{ENV[‘ZOOM\_REDIRECT\_URI’]}”

---

<div class="post-metadata">

**Author:** ![taylor2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/taylor2/32/13599_2.png) [@taylor2](https://devforum.zoom.us/u/taylor2)\
**Post date:** [August 16, 2020, 5:35pm UTC](https://devforum.zoom.us/t/not-receiving-access-token-in-auth-request/27306/2 "2020-08-16T17:35:02Z")

</div>

I fixed it. I was using the wrong encoding type. I had ‘Perform URL safe encoding (uses Base64URL format).’ checked in the encoding link

---

<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:** [August 18, 2020, 6:24pm UTC](https://devforum.zoom.us/t/not-receiving-access-token-in-auth-request/27306/3 "2020-08-18T18:24:49Z")

</div>

Hey @taylor2,

Happy to hear you fixed it! 🙂

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:** [September 18, 2020, 4:24am UTC](https://devforum.zoom.us/t/not-receiving-access-token-in-auth-request/27306/4 "2020-09-18T04:24:51Z")

</div>

Closed on September 18, 2020, 4:24am UTC

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