Zoom SDK getting crashed

Description
When I am trying to login with Zoom SSO, the app is getting crashed with a signal sigabrt error. XCode version is 12.2. iOS version: 13.6.1

To Reproduce(If applicable)
I applied it in the following way:
if let token = tokenTextField.text {
let authService = MobileRTC.shared().getAuthService()
authService?.delegate = self
if authService?.login(withSSOToken: token, rememberMe: true) == true {
print(“success”)
}
}

When I called authService?.login(withSSOToken: token, rememberMe: true), the crashing issue appears.
Screenshots


Smartphone (please complete the following information):

  • Device: iPhone 6s
  • OS: iOS 13.6.1

Hey @guptarahul091,

Thanks for using the dev forum.

Can you set a breakpoint on the line

if authService?.login(withSSOToken: token, rememberMe: true) == true {

and verify the following:

  • authService is not nil
  • token is not nil
  • authService.delegate is not nil

Thanks!
Michael

I verified the things and nothing is nil. After the crash, each time when I am trying to launch the application, the app is getting crash on the time of launch.

Hey @guptarahul091,

Sorry, is the crash happening with the app launches or when login is called?
Can you also provide the SDK Version?
Does commented out any specific lines prevent the crash?

Thanks!
Michael

No, When I launch the app first time, It is getting launch successfully without any crash. But when I tried to logged in with SSO token, It was getting crashed on line
if authService?.login(withSSOToken: token, rememberMe: true) == true {

After that when I tried to relaunch the app, every time it is getting crash. The log is as follows:
2021-01-28 12:50:45.891024+0530 ZoomiOSSDKDemo[6293:1988634] old data has cpoied done

(lldb)

I am using this SDK:

Hey @guptarahul091,

Where are you getting the token from? That seems strange the token would be causing this issue. Does it also crash if you log in with an email and password instead?

Thanks!
Michael

I tested it with Authorization token as well as id-token of Azure and Google also. I am getting crash for both.
But with email and password, there is no issue. It is working fine.

Hey @guptarahul091,

Have you configured your SSO to work with Zoom? The SSO token must be generated from the identity provider that you have previously configured with Zoom. This function does not take in any token generated from a third party log in, it will only take the one for your configuration with Zoom SSO.

Thanks!
Michael