Description
When authenticating using a valid SDK Key and SDK Secret (acquired from Zoom) after initializing the MobileRTC SDK, for some reason, I get an MobileRTCAuthError_KeyOrSecretWrong
error.
Which version?
v4.6.15805.0403
To Reproduce(If applicable)
Code:
let context = MobileRTCSDKInitContext()
context.domain = "https://zoom.us"
context.enableLog = true
context.locale = .default
context.appGroupId = ""
let initSuccess = MobileRTC.shared().initialize(context)
if initSuccess, let authService = MobileRTC.shared().getAuthService() {
authService.delegate = self
authService.clientKey = "<MY SDK KEY>"
authService.clientSecret = "<MY SDK SECRET>"
authService.sdkAuth()
}
extension AppDelegate: MobileRTCAuthDelegate {
func onMobileRTCAuthReturn(_ returnValue: MobileRTCAuthError) {
print("onMobileRTCAuthReturn: \(returnValue) \(MobileRTC.shared().getAuthService()?.isLoggedIn() ?? false)")
}
}
Screenshots
Attached is a screenshot of the Zoom web interface from where I fetch my SDK credentials (blacked out sensitive information)
Smartphone (please complete the following information):
- Device: iPhone 10
- OS: iOS 13.0
- Version 13.0
Additional context
I also tried regenerating the SDK Key as well as using a JWT Token to authenticate but those failed as well.