Description
I’m facing an issue where the onAuthenticationReturn
callback is not being triggered after executing SDKAuth
.
Interestingly, the SDKAuth
function returns SDKERR_SUCCESS
, but the subsequent call to GetAuthResult()
returns AUTHRET_NONE
.
My application is a console application using C#.
var result = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().SDKAuth(param);
Debug.WriteLine("SDKAuth result: " + result); // Output: SDKAuth result: SDKERR_SUCCESS
var status = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().GetAuthResult();
Debug.WriteLine(status); // Output: AUTHRET_NONE
Windows Meeting SDK version
zoom-c-sharp-wrapper-5.16.0.22251
Steps to reproduce the behavior
- Initialize the Zoom SDK
- Execute
SDKAuth
with JWT token - Set up the
onAuthenticationReturn
callback - Run the application and wait
- The
onAuthenticationReturn
callback is not triggered
Troubleshooting Routes
I’ve tried debugging the application, checking for error messages, and reviewing the SDK documentation.
I also tried implementing a message loop, but it didn’t solve the issue.
Device
Device: [DIY]
OS: [Windows 11]
Additional context
I suspect that the issue may be related to the console application not having a message loop to handle the callbacks, but adding one didn’t resolve the issue.