# Zoom OAuth2 Authroize takes to login redirect url

**URL:** <https://devforum.zoom.us/t/zoom-oauth2-authroize-takes-to-login-redirect-url/40406>\
**Category:** API and Webhooks\
**Created:** [January 13, 2021, 12:01am UTC](https://devforum.zoom.us/t/zoom-oauth2-authroize-takes-to-login-redirect-url/40406 "2021-01-13T00:01:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nithishaprasad](https://avatars.discourse-cdn.com/v4/letter/n/ecd19e/32.png) [@nithishaprasad](https://devforum.zoom.us/u/nithishaprasad)\
**Post date:** [January 13, 2021, 12:01am UTC](https://devforum.zoom.us/t/zoom-oauth2-authroize-takes-to-login-redirect-url/40406/1 "2021-01-13T00:01:27Z")

</div>

I created a test app in marketplace and trying to create webinar using salesforce UI. When I call authorize, I am redirected to zoom login url instead of redirecturl/$code. How do I get salesforce to auto login and redirect me directly to redirecturl/$code?

This is the URL:[Error - Zoom](https://zoom.us/oauth/authorize?response_type=code&redirect_uri=)…  
I get HTML body for the redirect url with error . [Javascript is enabled in my chrome browser].

I am able to get this working in postman.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 13, 2021, 9:40pm UTC](https://devforum.zoom.us/t/zoom-oauth2-authroize-takes-to-login-redirect-url/40406/2 "2021-01-13T21:40:53Z")

</div>

Hey @nithishaprasad,

Thank you for reaching out to the Zoom Developer Forum. Please make sure that you’re including the client\_id when making this request. I’ve included an example from out [OAuth Documentation](https://marketplace.zoom.us/docs/guides/auth/oauth) below.

```http
https://zoom.us/oauth/authorize?response_type=code&client_id=7lstjK9NTyett_oeXtFiEQ&redirect_uri=https://yourapp.com

```

I hope that helps! Let me know if you have any questions.

Thanks,  
Max

---

<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:** [February 13, 2021, 7:41am UTC](https://devforum.zoom.us/t/zoom-oauth2-authroize-takes-to-login-redirect-url/40406/3 "2021-02-13T07:41:21Z")

</div>

Closed on February 13, 2021, 7:41am UTC

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