Skip to content

PSZoom 2.0

Compare
Choose a tag to compare
@JosephMcEvoy JosephMcEvoy released this 08 Aug 02:04
· 40 commits to master since this release
12ce0ba

PSZoom is ending support for JWT. As of PSZoom 2.0 only Server-to-Server OAuth is supported. You can generate the Server-to-Server OAuth key/secret from https://marketplace.zoom.us/develop/create, then click on 'Create' under Server-to-Server OAuth. JWT authorization is supported in versions prior to 2.0. If you are using JWT, you should update your code to support Server-To-Server Oauth. Zoom will be dropping support of JWT in June of 2023.

I have implemented a new cmdlet named Connect-PSZoom. Connect-PSZoom must be run before using any other PSZoom cmdlets. This change means that old scripts will not work with this version. Instead of declaring variables such as ZoomApiKey and ZoomApiSecret, you should be using Connect-PSZoom.

Connect-PSZoom -AccountID 'account_id' -ClientID 'client_id' -ClientSecret 'secret'
Get-ZoomMeeting 123456789

After given an Account ID, Client ID, and Client Secret, Connect-PSZoom will get a token from Zoom then assign it to the global variable $PSZoomToken, which is used by other cmdlets when sending requests to Zoom. The token is good for up to one hour. Another cmdlet will be added later to expire the token ("Disconnect-PSZoom").

You can read more about JWT deprecation at https://marketplace.zoom.us/docs/guides/build/jwt-app/jwt-faq/ and more about a Zoom server-to-server Oauth app at https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/.