# Issues with authorization grant process for OAuth app

**URL:** <https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397>\
**Category:** API and Webhooks\
**Created:** [July 28, 2020, 12:24am UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397 "2020-07-28T00:24:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![rnahf](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@rnahf](https://devforum.zoom.us/u/rnahf)\
**Post date:** [July 28, 2020, 12:24am UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/1 "2020-07-28T00:24:57Z")

</div>

**Description**  
I have an OAuth connector set up on a web-server that reliably creates meetings for a handful of colleague’s zoom users (via the Zoom API) where I was previously able to complete authorization grants and establish OAuth tokens. The last time we successfully did this was June 22nd, but now the authorization grant process no longer works, although the established OAuth tokens still work perfectly. I don’t know whether this is due to tightened security or publication status of my connector. The connector is in an unpublished state and has both development and production client IDs and secrets. The user the connector was created under is not a full developer, to the best of my knowledge.

I don’t believe it’s appropriate to expose the app to the entire world, but I do need to allow more colleagues in my department to complete authorization grants.

Any thoughts on how to pursue this?

**Error**  
“You cannot authorize the app / This app cannot be installed outside of the developer’s account.”  
(prior to redirecting back to my webserver)

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
This is an OAuth app, associated with a user without full developer roles, ttbomk.

**Which Endpoint/s?**  
[zoom.us/oauth/authorize](http://zoom.us/oauth/authorize)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. the standard grant authorization request

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

```

1. sign in to grant authorization,
2. see error page with text as above

---

<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:** [July 29, 2020, 8:18pm UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/2 "2020-07-29T20:18:32Z")

</div>

Hey @rnahf,

Are you trying to have a Zoom user external to your own Zoom account install the app? If so, you will need to publish it to the app marketplace.

I am wondering if you were using the [shareable beta url](https://marketplace.zoom.us/docs/guides/publishing/sharing-private-apps) before it expired?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rnahf](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@rnahf](https://devforum.zoom.us/u/rnahf)\
**Post date:** [July 29, 2020, 8:43pm UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/3 "2020-07-29T20:43:57Z")

</div>

The zoom user is part of the same organization, and I confirmed with our Zoom admin that my user with the connector has some sort of developer role. There was some re-organization of the account, and this user was moved out of a sub-account in the past month with all of the others. From the account admin: “Good call, I’ve moved that account into a developer-enabled role now as it had been placed into the Member role during migration”.

I just tried testing the authorization grant process again, and it still fails - even when I do it for myself.

I wondered about the shareable beta url mechanism myself. I don’t see any indication on [marketplace.zoom.us](http://marketplace.zoom.us) that we did, but not sure if there’s a good indicator for whether we made a choice or not.

Is there a specific developer role that’s needed for this connector to work? And what exactly does “outside of the account” mean?

---

<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:** [July 31, 2020, 6:58pm UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/4 "2020-07-31T18:58:07Z")

</div>

Hey @rnahf,

Ah interesting. Did the account that the app was created get transferred or merged into another account? If so we will have to fix the app on our end. This is a known edge case.

What is the name of your app?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rnahf](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@rnahf](https://devforum.zoom.us/u/rnahf)\
**Post date:** [July 31, 2020, 8:36pm UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/5 "2020-07-31T20:36:38Z")

</div>

Glad this falls under a known edge-case! 🙂  
It’s an OAuth app called “AWCIM Web App Connector” and is now part of the [arizona.zoom.us](http://arizona.zoom.us) domain. (the user is azcim-webapp)

When I look at the /user#/ endpoint I see the users under the account that we would want to receive authorization grants from, so I don’t think we need to publish after all.

Many thanks for investigating.

Rob

---

<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 4, 2020, 5:49am UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/6 "2020-08-04T05:49:20Z")

</div>

Hey @rnahf,

You can fix this by creating a new OAuth app. Otherwise I am happy to fix the existing app for you if you would like?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rnahf](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@rnahf](https://devforum.zoom.us/u/rnahf)\
**Post date:** [August 4, 2020, 4:20pm UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/7 "2020-08-04T16:20:56Z")

</div>

Hi Tommy,  
I’ll try seeing how it goes with a new app, and let you know if I encounter any problems.  
Thanks,  
Rob

---

<div class="post-metadata">

**Author:** ![rnahf](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@rnahf](https://devforum.zoom.us/u/rnahf)\
**Post date:** [August 4, 2020, 5:05pm UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/8 "2020-08-04T17:05:40Z")

</div>

Hi again @tommy,

Before getting started on the new connector, can you confirm one way or another whether meetings set up through the old connector would be still valid once the new connector was in place? And also if we need to deactivate the old connector for the new one to function properly. (The old connection still works for existing token refreshes), so we’d want to be able to fall back to it if the new connector doesn’t fix the issue.

Thanks,  
Rob

---

<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 5, 2020, 10:09pm UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/9 "2020-08-05T22:09:44Z")

</div>

Hey @rnahf,

> [@rnahf](#):
>
> can you confirm one way or another whether meetings set up through the old connector would be still valid once the new connector was in place?

Valid as in still scheduled and will work? Yes the meetings will not be affected.

> [@rnahf](#):
>
> And also if we need to deactivate the old connector for the new one to function properly. (The old connection still works for existing token refreshes), so we’d want to be able to fall back to it if the new connector doesn’t fix the issue.

You don’t need to deactivate or delete the old app, creating a new OAuth app will not affect the other OAuth app.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rnahf](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@rnahf](https://devforum.zoom.us/u/rnahf)\
**Post date:** [August 5, 2020, 11:32pm UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/10 "2020-08-05T23:32:09Z")

</div>

Perfect. thank you very much!

---

<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 6, 2020, 6:41pm UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/11 "2020-08-06T18:41:32Z")

</div>

You are welcome! 🙂

-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:** [August 16, 2020, 6:41pm UTC](https://devforum.zoom.us/t/issues-with-authorization-grant-process-for-oauth-app/25397/12 "2020-08-16T18:41:44Z")

</div>

Closed on August 16, 2020, 6:41pm UTC

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