Electron Mac SDK auth error, always return 5

#1

node 8.15.1
electron 2.0.18

i cloned code here https://github.com/zoom/zoom-macsdk-electron
and get app key & secret here https://marketplace.zoom.us/docs/sdk/native-sdks/preface/sdk-keys-secrets
i tried many times but whatever i typed in the auth code will return 5
AUTHRET_UNKNOWN:5,///< Auth Unknown error

function sdkauthCB(status){
console.log(‘sdkauthCB’, status)
if (ZOOMSDKMOD.ZOOMAUTHMOD.ZoomAuthResult.AUTHRET_SUCCESS == status){
var opts = {
ostype:ZOOMSDKMOD.ZOOM_TYPE_OS_TYPE.MAC_OS,
meetingstatuscb:meetingstatuscb,
meetinguserjoincb:meetinguserjoincb,
meetinguserleftcb:meetinguserleftcb,
meetinghostchangecb:meetinghostchangecb,
}

=> sdkauthCB 5
=> sdkauthCB 5

0 Likes

#2

Have you ever set the web domain to “https://www.zoom.us”? If not, you can do it in main_mac.js.

1 Like

#3

it works! thank you!

0 Likes