# Zoom Windows SDK onAuthenticationReturn not trigerring

**URL:** <https://devforum.zoom.us/t/zoom-windows-sdk-onauthenticationreturn-not-trigerring/31676>\
**Category:** Windows\
**Created:** [September 29, 2020, 6:10pm UTC](https://devforum.zoom.us/t/zoom-windows-sdk-onauthenticationreturn-not-trigerring/31676 "2020-09-29T18:10:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![logic1](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@logic1](https://devforum.zoom.us/u/logic1)\
**Post date:** [September 29, 2020, 6:10pm UTC](https://devforum.zoom.us/t/zoom-windows-sdk-onauthenticationreturn-not-trigerring/31676/1 "2020-09-29T18:10:23Z")

</div>

**Zoom Windows SDK onAuthenticationReturn not triggering**

I tried to call the below lines  
ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add\_CB\_onAuthenticationReturn(onAuthenticationReturn);  
ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add\_CB\_onLoginRet(onLoginRet);  
ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add\_CB\_onLogout(onLogout);  
//  
ZOOM\_SDK\_DOTNET\_WRAP.AuthContext param = new ZOOM\_SDK\_DOTNET\_WRAP.AuthContext();  
param.jwt\_token = textBox\_apptoken.Text;

```
     ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().SDKAuth(param);
       Hide();

```

But onAuthenticationReturn method not getting called. I tried to set jwt\_token from App Credentials. The MainWindows.xml window is just hiding after Auth button clicked…

---

<div class="post-metadata">

**Author:** ![umar](https://avatars.discourse-cdn.com/v4/letter/u/59ef9b/32.png) [@umar](https://devforum.zoom.us/u/umar)\
**Post date:** [September 29, 2020, 11:07pm UTC](https://devforum.zoom.us/t/zoom-windows-sdk-onauthenticationreturn-not-trigerring/31676/2 "2020-09-29T23:07:35Z")

</div>

@logic1 refer to the following post  
[https://devforum.zoom.us/t/unable-to-authenticate-with-jwt-in-zoom-c-sdk-v5/31710](https://devforum.zoom.us/t/unable-to-authenticate-with-jwt-in-zoom-c-sdk-v5/31710)
