iOS swift best practice after JWT deprecated

As one of my older app is using MobileRTC on swift with xib/story
I was able to login, join meeting and create meeting via MobileRTC with the below code in AppDelegate

func setupZoom(){
        let zoomSDKKey = "..."
        let zoomSDKSecret = "..."
        let context = MobileRTCSDKInitContext()
        context.domain = "zoom.us"
        context.enableLog = true
        let sdkInitializedSuccessfully = MobileRTC.shared().initialize(context)
        if sdkInitializedSuccessfully == true, let authorizationService = MobileRTC.shared().getAuthService() {
            authorizationService.clientKey = zoomSDKKey
            authorizationService.clientSecret = zoomSDKSecret
            authorizationService.delegate = self
            authorizationService.sdkAuth()
        }
    }

However, after JWT deprecated and regarding Swift is having less document support, im not quite understand the best practice to update my app.

Does someone have idea what is the latest best practice to integrate zoom to our own application?

Should be using meeting SDK or oauth or ??? Would be nice if there’re some document or example that I can follow. Thanks a lot.

@andytsangchun ,

Thank you for posting in the Zoom Developer Forum – I am happy to help. For IOS, you must generate an SDK JWT using your Marketplace Meeting SDK key and secret. Here is our support documentation which includes instructions for generating SDK JWT.

Authorization

https://marketplace.zoom.us/docs/sdk/native-sdks/auth/

Create a Meeting SDK App

https://marketplace.zoom.us/docs/guides/build/sdk-app/

To authenticate users outside of your account, you should use PKCE OAuth flow to obtain their tokens. Here is our support guide on that:

PKCE OAuth and the Meeting SDK for iOS

https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/build-an-app/pkce/

Please let me know if you have any question about this.

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