Description
When I attempt to run the demo app the OnAuthenticationReturn callback is never called. After clicking the Auth button in MainWindow.xaml. It hides and there is no further action.
The MessageBox I placed to check for activity, is never shown.
public void OnAuthenticationReturn(AuthResult ret)
{
MessageBox.Show("AuthCallback");
if (ZOOM_SDK_DOTNET_WRAP.AuthResult.AUTHRET_SUCCESS == ret)
{
start_meeting_wnd.Show();
}
else//error handle.todo
{
Show();
}
}
Which Windows Client SDK version?
C# wrapper v5.5.12511.0422
To Reproduce(If applicable)
Steps to reproduce the behavior:
1.Download C# wrapper C# wrapper v5.5.12511.0422
2. Open \zoom_sdk_demo\zoom_sdk_demo.csproj
3. Change project configuration to Release, change platform to x86.
4. Click Start (in Visual Studio)
5. MainWindow.xaml is shown.
6. Input token and Click Auth
7. Window disappears and there is no other activity, however the program does remain running.
Device
Device: Ryzen desktop
OS: Windows 10
Microsoft Visual Studio Community 2019
Version 16.9.4
I used the JWT I generated in the C++ demo app(\zoom-sdk-windows-5.5.12511.0422\bin\sdk_demo_v2.exe). It authenticated successfully at that time.
I used the same JWT in the C# demo app in Visual Studio 2019 within a minute. And then, the OnAuthenticationReturn callback was not called. My project configuration is Release / x86.
So it does seem like you both are using the correct JWT format. The next step would be to check that all of the SDK files have been correctly added to the project. Can you please confirm that you are following the steps listed out in our documentation here precisely?
Michael_Condon writes " No need to move files over from the C++ SDK."
But I did try to follow the instructions today and it just leads to numerous errors when building the project. So it does seem that those instructions are indeed outdated.
With the project as downloaded, it builds and runs fine, just no OnAuthenticationReturn callback.