How to pass an OAuth access_token in C# or C++ with Meeting SDK v6.5?

Meeting SDK Type and Version

Meeting SDK for Windows – Version 6.5.10.13204

Tested both in C++ (zoom-sdk-windows) and C# (zoom-c-sharp-wrapper


Description

We are trying to authenticate using OAuth with the Meeting SDK (C++ and C#) by passing a valid access_token, already obtained via the standard Zoom OAuth flow from a proper OAuth App registered in the Zoom Marketplace.

However, in the C++ SDK, the AuthContext structure is missing from the SDK headers.

And in C#, the AuthParam class from the official zoom_sdk_dotnet_wrap.dll does not expose members like jwt_token or login_type.

We inspected the DLL and confirmed that it does contain symbols like:

  • AuthContext

  • jwt_token

  • login_type

  • LoginType_SSO

  • SDKAuth

…which suggests that OAuth support is present internally, but these fields are not accessible from code.


Error

In C++:

  • The AuthContext structure is completely missing in the SDK headers.

  • We cannot pass the access_token directly to any known method.

In C#:

  • AuthParam does not expose jwt_token or login_type

  • Trying to use Auth(param) throws runtime errors due to incomplete context.


Troubleshooting Routes

We have already tried:

  • Using the latest sample apps from the official Zoom SDK GitHub:

    • zoom-sdk-windows

    • zoom-c-sharp-wrapper

  • Using SDK versions 6.5.10.13204 and 5.17.11.34885

  • Inspecting the DLLs (zSDK.dll, zoom_sdk_dotnet_wrap.dll) with Ghidra

  • Attempting to pass the access_token to Auth() in multiple formats (wstring, const char*, etc.)

  • Manually editing the SDK demo to inject the token from file or hardcoded

  • Trying JWT-based flow as fallback (deprecated and rejected)

No method worked.


How To Reproduce

  1. Create a proper OAuth App in Zoom Marketplace (User-managed, with scopes like meeting:write, etc.)

  2. Obtain a valid access_token via standard OAuth flow

  3. Try to pass the token to either:

    • m_AuthSDKWorkFlow.Auth(param) in C++

    • ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.Auth() in C#

  4. Observe that either:

    • AuthContext or AuthParam do not accept access tokens

    • Compilation fails due to missing struct/members

    • Or runtime throws “auth sdk failed” with no further detail

:warning: Note: We do not want to use Web SDK or Zoom App SDK. We need this to work on native desktop C++ or C#, as we are embedding this in an internal assistant that requires full SDK control (not GUI automation or browser embeds).


:folded_hands: What We Need

Please confirm:

  • What is the correct and officially supported way to authenticate using a Zoom OAuth access token in Meeting SDK for C++ or C# (Windows)?

  • Is there an updated version or header that includes AuthContext, login_type, jwt_token, etc.?

  • If this is no longer supported or intended to work differently, can you provide an updated guide or sample?

1 Like

@mgomez are you trying to do SDK Authorization?
You will need to create a JWT Token using your Client ID and Client Secret.