Currently the app builds and runs without issue, however shortly after hitting “set domain” I get the error “Error: Send error, 60 Operation timed out”, I am then prompted to set the JWT token (I don’t have an option to use the SDK key/secret at all), but pressing “OK” once entering the JWT token simply results in nothing happening - I assume that there is an issue with the network connectivity or something, but I’m not sure where.
Are there any updated instructions for getting this sample working?
Note that to try fixing this I have tried deactivating and reactivating my app (as suggested in a post regarding what sounds like the same issue with the electron SDK)
To add to this I think this is partly me being dumb - I had created a “JWT” app rather than an “SDK” app, I have now created an SDK app, and attempted to create a web token through jwt.io - now when I enter that token something happens (which seems good) however that something is that I get “Connect failed” “Unknown Error” -
I am not clear whether this is an issue with my token or an issue with my connection.
Sorry - stil being dumb. It’s working now. I realised that the “share” button on jwt.io does not actually share the JWT encoded signature but rather a link to it. Duh.
I have managed to then log into my zoom account, however now neither the “video meeting” or “audio meeting” buttons do anything, and if I select “join” nothing happens after entering some meeting details…
OK, sorry - this has become a stream of consciousness. turns out that in the current macos SDK version the “domain” isn’t auto-filled to https://zoom.us (even though that is the placeholder), there is no error but without manually filling that in the calls can’t connect. Obviously easy for me to fix now I know the issue, but slightly annoying!
Hello @richard1 ,
I am currently going through this process as well.
Can you pls be more specific how to get sample app working?
I am asking about differences between SDK and JWT app - the sample app only shows JWT input for me (domain and then JTW), so I’ve created native JTW app in zoom marketplace.
I fill the domain in UI with https://zoom.us and pass the JWT token from zoom marketplace, with error response 1 -> ZoomSDKError_Failed
When trying to replicate your method, I am missing params line iat. Exp and tokenExp are self-explainatory.
Please share your full process, because as you mentioned earlier - zoom documentation is not in sync with current SDK version.
Thank you very much!
1/ You need to create an “SDK application” not a “JWT application” - even though the application needs a JWT token
2/ You need to then copy the key and secret from your app page and put them into the creator at jwt.io, you then need to edit the payload data to include the iat line (which should be the creation date of the token, so generate a timestamp of now) along with the exp (an expiry date, I set it to 50 years), and the tokenExp which I set to the same as the exp for now. You then add in the secret and copy the signature (do not use the share button)
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 and clicked on Set domain button.
I’m using app key and secret of SDK app created by zoom developer pro account.
And generated jwt token as described in latest changelog.
But I’m not able to authenticate with the JWT token generated from https://jwt.io
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.
My Mac version - macOS Mojave(10.14.6)
Zoom macOS SDK version - v5.0.24433.0616
Xcode version - 10.3
Hello, you should check that you are setting the domain to zoom.us - from memory there was an issue that the sdk demo app shows the default domain as a greyed out placeholder, and you need to either type it into the box or set it via [sdk setZoomDomain:kZoomSDKDomain]; before initialising the SDK
You also may want to check for errors on the response to each step - the sample app doesn’t do a great job of exposing these errors when they occur so you would want to check the return value of each call is retruning no error (0) to work out where the problem is occuring
hi @richard1, thank you for replying.
I see the domain being set properly.
I also debugged line by line.
But the app reaches the auth screen, takes in my jwt token, and does nothing with it. @donte.zoom → can help here please. Have been trying for a while.