# macOS meeting sdk sample not authorising

**URL:** <https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639>\
**Category:** macOS\
**Created:** [May 1, 2023, 1:37pm UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639 "2023-05-01T13:37:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nevaty](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nevaty](https://devforum.zoom.us/u/nevaty)\
**Post date:** [May 1, 2023, 1:37pm UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/1 "2023-05-01T13:37:07Z")

</div>

**Description**  
I am trying to get the meeting sdk sample app running on macOS.  
Steps I followed:

- Downloaded zoom sdk zip file for macOS from git repo - [https://github.com/zoom/zoom-sdk-macos](https://github.com/zoom/zoom-sdk-macos)
- Placed the **ZoomSDK** folder in the same directory as the **`ZoomSDKSample.xcodeproj`** file.
- Launched the `ZoomSDKSample.xcodeproj` file in Xcode
- Built app successfully and emulator is running.

I entered the domain as [https://zoom.us](https://zoom.us) and clicked on **Set domain** button.  
Then I created the auth token like below and pressed on the **Auth** button.

```auto
import time
import datetime
import jwt
iat = int(time.time())
exp = (datetime.datetime.today() + datetime.timedelta(days=2)).strftime("%s")
tokenExp = (datetime.datetime.today() + datetime.timedelta(hours=1)).strftime("%s")

payload = {
    'appKey': "",
    'iat': iat,
    'exp': exp,
    'tokenExp': tokenExp
}
encoded = jwt.encode(payload, "", algorithm='HS256')
print(encoded)

```

No error is displayed on emulator app…and nothing changes on emulator screen.

I tried debugging the code also but I guess I’m not getting auth response from zoom auth service.  
I’m not much familiar with Objective C but the callback **onZoomSDKAuthReturn** is not getting called.

Not able to find out what I’m missing.

**Which macOS Meeting SDK version?**  
v5.14.2.17263

**Device (please complete the following information):**

- Device: Apple MacBook Pro (13-inch, M1)
- OS: [macOS Ventura 13.2]

@donte.zoom

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 1, 2023, 2:53pm UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/2 "2023-05-01T14:53:57Z")

</div>

Thank you for tagging me! Please see this troubleshooting Meeting SDK signature validation support guide for guidance on troubleshooting the behavior you are seeing :

> [@Troubleshooting Meeting SDK signature validation](https://devforum.zoom.us/t/troubleshooting-meeting-sdk-signature-validation/85961/2):
>
> Resources : :link:JSON Web Token (JWT) RFC :link:Create a Meeting SDK App [https://developers.zoom.us/docs/meeting-sdk/create/](https://developers.zoom.us/docs/meeting-sdk/create/)link Meeting SDK Authorization [https://developers.zoom.us/docs/meeting-sdk/auth/#generate-a-meeting-sdk-jwt](https://developers.zoom.us/docs/meeting-sdk/auth/#generate-a-meeting-sdk-jwt):link:Generate a Meeting SDK JWT [https://developers.zoom.us/docs/meeting-sdk/auth/#generate-a-meeting-sdk-jwt](https://developers.zoom.us/docs/meeting-sdk/auth/#generate-a-meeting-sdk-jwt):link:Zoom Meeting SDK Auth Endpoint sample :link:How to create a sample JWT for the Meeting SDK

Let us know if this helps!

---

<div class="post-metadata">

**Author:** ![nevaty](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nevaty](https://devforum.zoom.us/u/nevaty)\
**Post date:** [May 2, 2023, 2:16pm UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/3 "2023-05-02T14:16:01Z")

</div>

hi @donte.zoom → tried that as well before. Does not work.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 4, 2023, 12:41am UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/4 "2023-05-04T00:41:25Z")

</div>

Thank you for the response, @nevaty! There may be something off with how the time is being set. As a test, can you use Zoom Meeting SDK Auth Endpoint sample to generate the signature and manually enter the value? This will help isolate what may be happening. I’ve linked the Zoom Meeting SDK Auth Endpoint sample below for reference :

> **[GitHub - zoom/meetingsdk-auth-endpoint-sample: Generate a Meeting SDK JWT to...](https://github.com/zoom/meetingsdk-auth-endpoint-sample)**
>
> Generate a Meeting SDK JWT to join Zoom meetings and webinars with the Meeting SDK. - GitHub - zoom/meetingsdk-auth-endpoint-sample: Generate a Meeting SDK JWT to join Zoom meetings and webinars wi...

---

<div class="post-metadata">

**Author:** ![nevaty](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nevaty](https://devforum.zoom.us/u/nevaty)\
**Post date:** [May 7, 2023, 2:51am UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/5 "2023-05-07T02:51:55Z")

</div>

Hey @donte.zoom → no luck.

---

<div class="post-metadata">

**Author:** ![hunter1](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@hunter1](https://devforum.zoom.us/u/hunter1)\
**Post date:** [May 8, 2023, 8:12pm UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/6 "2023-05-08T20:12:31Z")

</div>

+1 To this thread. I’m running into the exact same issue with no apparent path forward.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 12, 2023, 10:58pm UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/7 "2023-05-12T22:58:08Z")

</div>

Hi, @hunter1 and @nevaty ,

Sorry for the trouble getting started with macOS Meeting SDK. Here is a step-by-step walkthrough of getting started with macOS Meeting SDK v5.14.6.17875. To help rule out SDK JWT authentication, I manually generated a JWT token.

### Here are the steps I used :

1. Download SDK

2. Open ZoomSDKSample.xcodeproj in the appropriate ZoomSDKSample folder.

3. Selecct **ZoomSDKSample** for (universal) and update macOS Deployment Target 11.0

4. Build the sample **ZoomSDKSample** for (universal)

5. Manually enter the domain: [https://zoom.us](https://zoom.us)

6. Use [epochconverter](https://www.epochconverter.com/) to get an epoch timestamp. Enter values for `iat`, `exp`, and `tokenExp`.

```auto
{
  "appKey": "YOUR_SDK_KEY,
  "role": "1",
  "iat": 1683930881,
  "exp": 1684017271,
  "tokenExp": 1684017271
}

```

1. Generate an SDK JWT, and enter the value in the field.

2. In your Zoom client, start a meeting in your join client and in the toolbar, select **Meeting** , **Invite** to see the meeting ID and passcode. View this information when you select the green “Meeting information” shield in the top-left corner of the Meeting window.

3. In the **ZoomSDKSample** window, choose the `Join Only` tab and enter the **Meeting ID** , a **User Name** , and the **Meeting Password** for the meeting you started and select **Join**

### Video Walkthrough

https://www.loom.com/embed/eff31ae99d40493da33297ea940583d4

## Additional Notes:

- The “Join Only” is joining a meeting anonymously, so you have to have an existing meeting, it does not start a meeting.

- Be sure to remove space in between characters

- The current version only includes the library for universal, so you will need to build the universal project

- Starting from 5.14.0, we no longer require the ZoomSDK folder to move into the ZoomSDKSample folder

- The following is just a warning, and not actual error: dynamic\_cast error 1: Both of the following type\_info’s should have public visibility. At least one of them is hidden. N3Cmm9CmmMQ\_MsgE, N3Cmm14CmmInternelMsgE.

---

<div class="post-metadata">

**Author:** ![hunter1](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@hunter1](https://devforum.zoom.us/u/hunter1)\
**Post date:** [May 17, 2023, 12:36am UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/8 "2023-05-17T00:36:35Z")

</div>

Thanks Donte!

I’ll give these steps a try at some point. I was able to make headway with the Windows SDK so just went that direction.

---

<div class="post-metadata">

**Author:** ![nevaty](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nevaty](https://devforum.zoom.us/u/nevaty)\
**Post date:** [May 17, 2023, 10:30am UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/9 "2023-05-17T10:30:59Z")

</div>

Thanks @donte.zoom. This works.

Follow up question:  
Can the sdk now get transcripts for the meeting regardless of which kind of meeting it joins ?  
Or will I need to be on the business/enterprise plan ?

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [June 1, 2023, 2:43pm UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/10 "2023-06-01T14:43:00Z")

</div>

Hi, @nevaty,

Glad to hear those instructions were helpful. Yes, it is possible to get the Meeting transaction regardless of the meeting. To do so, you can subscribe to the recording complete webhook, which will returns the meeting transcriptions. Here is our support documentation on getting started with Webhooks along with the recording.complete Webhook Event reference.

# Using webhooks

[https://developers.zoom.us/docs/api/rest/webhook-reference/](https://developers.zoom.us/docs/api/rest/webhook-reference/)

# recording.completed

> **[Zoom API Events - Meeting](https://developers.zoom.us/docs/api/rest/reference/zoom-api/events/#operation/recording.completed)**
>
> API Reference for /docs/api/rest/reference/zoom-api/events

# Automatic Download of Cloud Recordings with Webhook Events Sample Webhook App

> [@Automatic Download of Cloud Recordings with Webhook Events](https://devforum.zoom.us/t/automatic-download-of-cloud-recordings-with-webhook-events/82899):
>
> This is a simple app that demonstrates how to use the Zoom [recording.completed](https://marketplace.zoom.us/docs/api-reference/zoom-api/events/#operation/recording.completed) event to automatically download all cloud recordings for an account. Built using Node.js + Express. Check out the [repository on GitHub](https://github.com/Will4950/ZoomWebRecordArchive) if interested.

Let us know if this helps.

---

<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:** [July 2, 2023, 12:43am UTC](https://devforum.zoom.us/t/macos-meeting-sdk-sample-not-authorising/87639/11 "2023-07-02T00:43:02Z")

</div>

Closed on July 2, 2023, 12:43am UTC

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