Since you are passing in all of the required parameters, it appears that the issue may lie within your token’s content. Can you please confirm that you are following the format outlined here exactly?
If you are still running into this issue after confirming that, please post your JWT WITH ALL CREDENTIALS REPLACED WITH ARBITRARY DATA (e.g. `“app_key”: “ABCD”) so that we may look into other possible causes.
I’m going through this as well and encountered a crash on joinSession : my problem was the “iat” & “exp” fields : the documentation indicates that they are strings but they should be numbers instead. An int that is the seconds since the epoch. Hope that helps.
How are you generating the JWT? I’m using SwiftJWT. Also (not sure if it’s required) but I have a “tpc” that matches the session name in the joinSession() call.
Thanks @brians and @Michael_Condon , the “tpc” not matching the string that was being assigned to the “sessionName” parameter is what was causing the error.
@Michael_Condon We are getting the same problem but we made sure tpc is matching. We identified that changing the user_identity manually sometimes fixes the issue. Please provide a solution
Please do not post to multiple threads about the same issue, as it can make the forum more difficult to navigate for other users. For more information, please see our FAQ.