# Processing Oauth Response from Perl

**URL:** <https://devforum.zoom.us/t/processing-oauth-response-from-perl/15319>\
**Category:** API and Webhooks\
**Created:** [April 28, 2020, 11:40pm UTC](https://devforum.zoom.us/t/processing-oauth-response-from-perl/15319 "2020-04-28T23:40:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arpapsych.org](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arpapsych.org/32/52597_2.png) [@arpapsych.org](https://devforum.zoom.us/u/arpapsych.org)\
**Post date:** [April 28, 2020, 11:40pm UTC](https://devforum.zoom.us/t/processing-oauth-response-from-perl/15319/1 "2020-04-28T23:40:04Z")

</div>

**Description**  
I am attempting to get a token for making requests of the Zoom API. I have been successful in the past with other APIs. However, with Zoom the redirection seems to be throwing me off as I cannot determine the correct authorization\_id needed for getting a token. Can anyone point me in the right direction? When I go through the MarketPlace I can easily get the correct code from the redirected response.

Response Received  
HTTP/1.1 302 Found  
Connection: close  
Date: Tue, 28 Apr 2020 23:18:53 GMT  
Location: [https://zoom.us/oauth/signin?\_rnd=1588114&client\_id=XpRidSfw&redirect\_uri=https%3A%2F%2Farpapsych.org&response\_type=code&\_x\_zm\_rtaid=SqlCsiE5SlKrasIeswgA.1588](https://zoom.us/oauth/signin?_rnd=1588114&client_id=XpRidSfw&redirect_uri=https%3A%2F%2Farpapsych.org&response_type=code&_x_zm_rtaid=SqlCsiE5SlKrasIeswgA.1588)…d.e4&\_x\_zm\_rhtaid=367  
Server: ZOOM  
Content-Length: 0  
Client-Date: Tue, 28 Apr 2020 23:18:53 GMT  
Client-Peer: …  
Client-Response-Num: 1  
Client-SSL-Certd=D04A4…27; Path=/; Secure; HttpOnly

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

---

<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:** [May 4, 2020, 6:26pm UTC](https://devforum.zoom.us/t/processing-oauth-response-from-perl/15319/2 "2020-05-04T18:26:11Z")

</div>

Hey @arpapsych.org,

Please see our OAuth guide here:

> **[OAuth 2.0 - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/oauth)**
>
> 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...

Let me know which step you are having trouble with.

You can also use a [JWT Token](https://marketplace.zoom.us/docs/guides/auth/jwt) if you want to make API requests on your own Zoom account.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![arpapsych.org](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arpapsych.org/32/52597_2.png) [@arpapsych.org](https://devforum.zoom.us/u/arpapsych.org)\
**Post date:** [May 4, 2020, 9:48pm UTC](https://devforum.zoom.us/t/processing-oauth-response-from-perl/15319/3 "2020-05-04T21:48:14Z")

</div>

I can manually “install” or issue the authorization from the developers website to get a valid authorization code that I can use to get a token and then make API calls. However, when I try to issue the authorization via Perl, I do not get a valid code back. See sample below:

response via web:

response with same url:

---

<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:** [May 13, 2021, 6:34pm UTC](https://devforum.zoom.us/t/processing-oauth-response-from-perl/15319/4 "2021-05-13T18:34:25Z")

</div>

Make sure to follow step 2: [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)

-Tommy

---

<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:** [May 13, 2021, 6:34pm UTC](https://devforum.zoom.us/t/processing-oauth-response-from-perl/15319/5 "2021-05-13T18:34:27Z")

</div>

Closed on May 13, 2021, 6:34pm UTC


