# AUTHCB does not always fire

**URL:** <https://devforum.zoom.us/t/authcb-does-not-always-fire/36134>\
**Category:** Electron\
**Created:** [November 16, 2020, 3:52pm UTC](https://devforum.zoom.us/t/authcb-does-not-always-fire/36134 "2020-11-16T15:52:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![filibert.overhill](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/filibert.overhill/32/2913_2.png) [@filibert.overhill](https://devforum.zoom.us/u/filibert.overhill)\
**Post date:** [November 16, 2020, 3:52pm UTC](https://devforum.zoom.us/t/authcb-does-not-always-fire/36134/1 "2020-11-16T15:52:13Z")

</div>

When our application starts up, we do the following:

1. Call `AuthWithJwtToken`
2. Wait for the `authcb` callback before allowing the user to start zoom calls
3. Call `AuthWithJwtToken` again when `onZoomAuthIdentityExpired`

It seems like `authcb` does not fire if the user’s PC is asleep and `onZoomAuthIdentityExpired` fires.

So, a few questions:

1. if I get `Success` back from `AuthWithJwtToken` can I successfully start zoom calls? Or do we have to wait for `authcb` to get called?
2. Why doesn’t `authcb` reliably fire after `AuthWithJwtToken`?
3. I tried calling `zoom_auth.GetAuthResult`, however that returned 0 _before_ calling `AuthWithJwtToken`, so it does not appear to do what I think it does. What is that function supposed to do?
