SDK Authorization failed MobileRTCAuthError(rawValue: 11) and Invalid signature

Hi, I’m currently integrating Zoom Meeting SDK version 5.17.10 into my application. I’ve implemented the OAuth flow, starting with the creation of an OAuth token (using server-to-server OAuth). From there, I generated a ZAK token, and finally, I created a JWT for the Meeting SDK. However, when I use this JWT token in my iOS application, I encounter an error: ‘SDK Authorization failed’ with error code MobileRTCAuthError(rawValue: 11). Could anyone please help me identify the issue?
header {
“alg”: “HS256”,
“typ”: “JWT”
} payload like this {
“appKey”: ZOOM_MEETING_SDK_KEY_OR_CLIENT_ID,
“sdkKey”: ZOOM_MEETING_SDK_KEY_OR_CLIENT_ID,
“mn”: MEETING_NUMBER,
“role”: ROLE,
“iat”: 1646937553,
“exp”: 1646944753,
“tokenExp”: 1646944753
}
HMACSHA256(
base64UrlEncode(header) + ‘.’ + base64UrlEncode(payload),
ZOOM_MEETING_SDK_SECRET_OR_CLIENT_SECRET
);

@farooqih11 ,

Auth Signature / JWT Token for Meeting SDK does not require OAuth Flow.

You will need to create either a Meeting SDK App (Legacy), or General App (with Meeting SDK Function enabled), use the Client ID and Client Secret to sign the token.