# SDKAuth() does not trigger authcb

**URL:** <https://devforum.zoom.us/t/sdkauth-does-not-trigger-authcb/10574>\
**Category:** Electron\
**Created:** [April 2, 2020, 3:55am UTC](https://devforum.zoom.us/t/sdkauth-does-not-trigger-authcb/10574 "2020-04-02T03:55:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![vinay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vinay/32/11954_2.png) [@vinay](https://devforum.zoom.us/u/vinay)\
**Post date:** [August 20, 2020, 11:44am UTC](https://devforum.zoom.us/t/sdkauth-does-not-trigger-authcb/10574/5 "2020-08-20T11:44:43Z")

</div>

I’m not able to start meetings. Here’s the code I used:

```auto
const ZOOMSDKMOD = require(nodeModDir)
const pos = nodeModDir.lastIndexOf('/')

const zoomSDK = ZOOMSDKMOD.ZoomSDK.getInstance({
  path: nodeModDir.substr(0, pos) + '/../build/Release/',
})
let res = zoomSDK.InitSDK({
  enable_log: true,
  langid: ZoomSDK_LANGUAGE_ID.Language_English,
  locale: ZoomAPPLocale.ZNSDK_App_Locale_Default,
})
console.log('ZOOM INIT SDK', res)
const zoomAuth = zoomSDK.GetAuth({
  authcb: (status: number) => {
    console.log('AUTHCB', status)
  },
})
res = zoomAuth.AuthWithJwtToken(zoomSdkJwt)
const zoomMeeting = zoomSDK.GetMeeting()

console.log('AUTH WITH JWT', res)

const meetingOptions = {
    meetingnum: 10 // used my PMI
    zoomaccesstoken: zoomZakToken, 
    username: 'Place Holder',
  }

  let ret = zoomMeeting.StartMeetingWithOutLogin(meetingOptions)
  console.log('STARTMEETINGWITHOUTLOGIN', ret)

```

Here’s a log from the last run:

```auto
InitSDK 0
ZOOM INIT SDK 0
AUTH WITH JWT 0
STARTMEETINGWITHOUTLOGIN 6

```

Corresponding run to that log (in case the last one was bad):

On tuesday, this worked fine. Yesterday, I started getting `SDKERR_SERVICE_FAILED` from `StartMeetingWithOutLogin`. I found this forum post [Sdkerr\_service\_failed](https://devforum.zoom.us/t/sdkerr-service-failed/3583/2) that seemed related. When I check in my app, my `authcb` callback never runs. I’ve run basically the identical code in the demo application and it works.

---

_[View the full topic](https://devforum.zoom.us/t/sdkauth-does-not-trigger-authcb/10574)._
