# Zoom\_sdk\_demo not generating authentication return callback

**URL:** <https://devforum.zoom.us/t/zoom-sdk-demo-not-generating-authentication-return-callback/20033>\
**Category:** Windows\
**Created:** [June 2, 2020, 8:54pm UTC](https://devforum.zoom.us/t/zoom-sdk-demo-not-generating-authentication-return-callback/20033 "2020-06-02T20:54:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgadzik](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@jgadzik](https://devforum.zoom.us/u/jgadzik)\
**Post date:** [June 2, 2020, 8:54pm UTC](https://devforum.zoom.us/t/zoom-sdk-demo-not-generating-authentication-return-callback/20033/1 "2020-06-02T20:54:05Z")

</div>

I am experiencing difficulty in running the C# zoom\_sdk\_demo application (SDK v4.6.21666); specifically I am not receiving an authentication return callback in MainWindow.xaml.cs.

I registered and received my app key and secret from the Zoom developer account web site. When I enter my credentials in the zoom\_sdk\_demo application window during runtime and press the “Auth” button, the codebase runs the button\_auth\_Click function (line 51), calls the SDKAuth function (62), then hides the application window. No exceptions are thrown. At this point, I would expect a callback to the onAuthenticationReturn function (line 32) - even if I entered incorrect credentials - but this function is never called.

I am certain I am entering my credentials correctly. I am running Visual Studio 2019 using the x86 configuration. I can also recreate the issue using Visual Studio 2017. I have tried running as an administrator privileges and without. I am running Windows 10 and can recreate this issue on 2 different computers on 2 separate networks.

Can someone please assist?

Thank you.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 3, 2020, 8:54am UTC](https://devforum.zoom.us/t/zoom-sdk-demo-not-generating-authentication-return-callback/20033/2 "2020-06-03T08:54:46Z")

</div>

Hi @jgadzik,

I have just tested our demo app and it is working as expected. Are you building with “Debug” mode or “Release” mode? Our SDK only supports “Release” mode, if you build with “Debug” mode, the issue you are mentioning could happen.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![jgadzik](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@jgadzik](https://devforum.zoom.us/u/jgadzik)\
**Post date:** [June 3, 2020, 12:24pm UTC](https://devforum.zoom.us/t/zoom-sdk-demo-not-generating-authentication-return-callback/20033/3 "2020-06-03T12:24:06Z")

</div>

Yes that was it! I clearly missed the instruction where it said to use Release, not Debug. Thank you so much for your speedy, accurate, and helpful reply.

- Jon

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 4, 2020, 7:31am UTC](https://devforum.zoom.us/t/zoom-sdk-demo-not-generating-authentication-return-callback/20033/4 "2020-06-04T07:31:38Z")

</div>

Hi Jon,

Glad to be helpful. Happy Zooming! 🙂

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:51pm UTC](https://devforum.zoom.us/t/zoom-sdk-demo-not-generating-authentication-return-callback/20033/5 "2020-08-21T21:51:56Z")

</div>


