Description
I get MobileRTCAuthError_KeyOrSecretWrong in my AppDelegate onMobileRTCAuthReturn method when trying to authorize my app. I’ve already double-checked that the key and secret match what is in our marketplace SDK app and that that app is activated. We had been using this successfully in previous versions, I do not know when it broke.
Which version?
v4.6.21666.0428
To Reproduce(If applicable)
Happens on launch of the app
Smartphone (please complete the following information):
Device: iPhone 8
OS: iOS13.3
Version 1
Additional context
This is the main way we try to authenticate in AppDelegate:
let zoomContext = MobileRTCSDKInitContext()
zoomContext.domain = "https://www.zoom.us/"
MobileRTC.shared().initialize(zoomContext)
if let service = MobileRTC.shared().getAuthService() {
service.delegate = self
service.clientKey = kZoomSdkKey
service.clientSecret = kZoomSdkSecret
service.sdkAuth()
}
I’ve also tried setting the domain to “zoom.us/”, but see the same behaviour.
I’ve tried setting the jwt token, but then I don’t see the onMobileRTCAuthReturn method called at all.
We just started experiencing the exact same issue today. Our app had been authenticating perfectly fine, but now we’re receiving the MobileRTCAuthError_KeyOrSecretWrong error. Our keys and secrets are definitely correct and our app is activated. We’re also using the zoom.us domain.
Any feedback/guidance on this would be greatly appreciated. This is a major inconvenience for our users.
Hi @carson. We were using the credentials from a jwt app, as stated in doc. But for the sdk to authenticate you must use the credentials from a sdk app.
I think it’s better to fix the doc.
Bye