# Client ID and Secret Key for Powershell script

**URL:** <https://devforum.zoom.us/t/client-id-and-secret-key-for-powershell-script/10215>\
**Category:** API and Webhooks\
**Created:** [March 30, 2020, 5:18pm UTC](https://devforum.zoom.us/t/client-id-and-secret-key-for-powershell-script/10215 "2020-03-30T17:18:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![spo](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@spo](https://devforum.zoom.us/u/spo)\
**Post date:** [March 30, 2020, 5:18pm UTC](https://devforum.zoom.us/t/client-id-and-secret-key-for-powershell-script/10215/1 "2020-03-30T17:18:15Z")

</div>

Hi.  
I am new to the Zoom API, and needs to create some PowerShell scripts for automating user licensing.

As I understand the documentation, first step to create an Oauth app, so I get a Client ID with a secret key generated, for authorization to the REST service.

In the last step in the app creation (Install App), the wizard redirects me to the url I typed for the Oauth redirection.  
As this is not intended for a user login, but a central integration script, there is no such url on my side. So the creation fails.

Have I misunderstood the method, or is there way around this.

Thanks.

Søren

---

<div class="post-metadata">

**Author:** ![avtandil.kikabidze](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/avtandil.kikabidze/32/4480_2.png) [@avtandil.kikabidze](https://devforum.zoom.us/u/avtandil.kikabidze)\
**Post date:** [March 30, 2020, 9:39pm UTC](https://devforum.zoom.us/t/client-id-and-secret-key-for-powershell-script/10215/2 "2020-03-30T21:39:56Z")

</div>

You need to use JWT authentication [https://marketplace.zoom.us/docs/api-reference/using-zoom-apis](https://marketplace.zoom.us/docs/api-reference/using-zoom-apis) for server to server communication (Rest)

---

<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:** [March 31, 2020, 5:32am UTC](https://devforum.zoom.us/t/client-id-and-secret-key-for-powershell-script/10215/3 "2020-03-31T05:32:53Z")

</div>

Hey @spo,

Like @avtandil.kikabidze, for Powershell scripts, use a [JWT App](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) to generate a [JWT Token](https://marketplace.zoom.us/docs/guides/auth/jwt).

Thanks,  
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, 7:40pm UTC](https://devforum.zoom.us/t/client-id-and-secret-key-for-powershell-script/10215/4 "2020-08-21T19:40:56Z")

</div>


