Description
I’m using the iOS SDK (with the ionic plugin modified to add jwt initialization). I find that the [authService sdkAuth] is failing if using a generated JWT, wheras using an API Key and shared secret it works ok.
The failure is that either the onMobileRTCAuth is not called at all, or onMobileRTCAuth returns with MobileRTCAuthError_Unknown.
I’ve tried generating the JWT using a number of different methods, but none work:
Directly at jwt.io,
Using the .Net library System.IdentityModel.Tokens.Jwt (blessed at jwt.io)
Using some other methods online
Which version?
v4.6.21666.0603
To Reproduce(If applicable)
authService.jwtToken = jwt;
[authService sdkAuth];
The JWT is generated using the known working API key and shared secret for the SDK application in the marketplace.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Varies, but the specifications don’t seem to matter. Have tried on a couple of different devices with no luck
- Device: iPad A1893
- OS: iOS 13.6
Additional context
Add any other context about the problem here.