SDK returns error when calling SDKAuth(authParam)

Hi.

I have updated the Meeting SDK from 5.12.8.10282 to 5.15.2.18146
When I call the SDKAuth(AuthContext authParam) it returns SDKERR_SUCCESS, but the
event onAuthenticationReturn fires with AuthResult 11.

With v5.12, I passed in AuthParam param with my SdkKey and Secret and everything was ok.

I have verified my creation of jwt at jwt.io… Nothing wrong there. No settings has been changed on the account.

I am running out of options here. Can anyone thell me what is wrong?

1 Like

from 5.14, you can only use JWT token to authenticate. The params to authenticate using SDKKey and SDKSecret directly is removed.

1 Like

I have done that changes. It return error as you can see in the original post.

1 Like

could you share your JWT token? an expired token is fine as well

1 Like

I followed the instruction on this page to create the jwt

An example is:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJTRG90MVdGZ2h6eERBTm9XNTVLZGlnenk0bEphZHFENFRLNlQiLCJpYXQiOjE2ODkxOTkwMDIsImV4cCI6MTY4OTIwNjIwMiwidG9rZW5FeHAiOjE2ODkyMDYyMDJ9.7TuSxR9Tsfl8NcLZH2nvDMr3M5I3drQKlVrtt-618xo

What is wrong with this?

Hi again. When can I expect an answer ?

@bm.erikstad please tag me in your reply to get my attention.

The JWT token you have provided looks ok.
Just to confirm, your appKey is taken from the ClientID found in your meeting SDK app type right?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.