# OAuth without Authorization prompt for user credentials

**URL:** <https://devforum.zoom.us/t/oauth-without-authorization-prompt-for-user-credentials/5413>\
**Category:** API and Webhooks\
**Created:** [August 9, 2019, 10:48am UTC](https://devforum.zoom.us/t/oauth-without-authorization-prompt-for-user-credentials/5413 "2019-08-09T10:48:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pks](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pks/32/1521_2.png) [@pks](https://devforum.zoom.us/u/pks)\
**Post date:** [August 9, 2019, 10:48am UTC](https://devforum.zoom.us/t/oauth-without-authorization-prompt-for-user-credentials/5413/1 "2019-08-09T10:48:19Z")

</div>

I am trying to build a powershell script to fetch feedback response details from Zoom API on daily basis and perform several actions. The challenge is when I send a request to Authorize endpoint, the response is a HTML page asking for user log-in information.

I have an account level app created and assigned the scope ‘View Dashboard data’. This is an admin scope and I **don not** want a user prompt to log-in. Basically this would be hands off scheduled script.

How can I achieve this?

---

<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 9, 2019, 4:44pm UTC](https://devforum.zoom.us/t/oauth-without-authorization-prompt-for-user-credentials/5413/2 "2019-08-09T16:44:13Z")

</div>

Hey @pks, thanks for using Zoom!

We do not allow fully automated scripts to use OAuth. There has to be a user presence to authorize an OAuth App.

Although, you can achieve this using our [JWT App Type](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app).

“By creating a JWT app on the Marketplace, you can build a server-server authenticated app which allows users as well as other apps to consume its services.”

[Here is how to make a JWT App to call the Zoom APIs.](https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![pks](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pks/32/1521_2.png) [@pks](https://devforum.zoom.us/u/pks)\
**Post date:** [August 12, 2019, 8:48am UTC](https://devforum.zoom.us/t/oauth-without-authorization-prompt-for-user-credentials/5413/3 "2019-08-12T08:48:04Z")

</div>

Thanks Tommy for the info. I will try with JWT.

---

<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 12, 2019, 3:32pm UTC](https://devforum.zoom.us/t/oauth-without-authorization-prompt-for-user-credentials/5413/4 "2019-08-12T15:32:45Z")

</div>

You’re welcome!

Let us know if you have any other questions! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![pks](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pks/32/1521_2.png) [@pks](https://devforum.zoom.us/u/pks)\
**Post date:** [August 13, 2019, 11:01am UTC](https://devforum.zoom.us/t/oauth-without-authorization-prompt-for-user-credentials/5413/5 "2019-08-13T11:01:31Z")

</div>

I am using JWT now and able access the api successfully.

I have posted another question here [Feedback responder info not available in API](https://devforum.zoom.us/t/feedback-responder-info-not-available-in-api/5456)

Thanks,  
Partha

---

<div class="post-metadata">

**Author:** ![pks](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pks/32/1521_2.png) [@pks](https://devforum.zoom.us/u/pks)\
**Post date:** [August 13, 2019, 11:04am UTC](https://devforum.zoom.us/t/oauth-without-authorization-prompt-for-user-credentials/5413/6 "2019-08-13T11:04:49Z")

</div>

For benefit of anyone who is looking to generate JWT using powershell, below is the link to the function I used.

> **[r/PowerShell - Generate JWT (JSON Web Token) in Powershell](https://www.reddit.com/r/PowerShell/comments/8bc3rb/generate_jwt_json_web_token_in_powershell/)**
>
> 5 votes and 9 comments so far on Reddit

Cheers!

---

<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 13, 2019, 3:49pm UTC](https://devforum.zoom.us/t/oauth-without-authorization-prompt-for-user-credentials/5413/7 "2019-08-13T15:49:05Z")

</div>

Good to hear @pks!

Thanks for posting!

-Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:38pm UTC](https://devforum.zoom.us/t/oauth-without-authorization-prompt-for-user-credentials/5413/8 "2020-08-21T18:38:23Z")

</div>


