Description
I’m trying to get the demo to go to the login screen, but when I’m on the auth screen and enter the token, the page keeps refreshing. I am following the correct JWT generation instructions from Jwt error 5 returned from AuthWithJwtToken and my AuthWithJWTToken is returning 0 as expected (although I’m not sure where to get the access token issue and expiration timestamps, so I have put down arbitrary timestamps), but the demo app keeps refreshing to the auth screen every time I hit “SDKAuth”
Here’s what my payload looks like:
{
“appKey”: “sdkkeyhere”,
“iat”: 1595304469,
“exp”: 1595364469,
“tokenExp”: 1595364469
}
I’ve logged the status inside of the function sdkauthCB and it’s returning 5, which is unknown. Is there something I’m doing wrong?
Which version?
v5.0.24433.0616
To Reproduce(If applicable)
Steps to reproduce the behavior:
- “npm install” inside the demo directory
- “sh build_nodeaddon_mac.sh” to rebuild the Zoom SDK
- “sh run_demo_mac.sh” to start the demo
- Hit “Start Demo”
- Paste in the JWT from jwt.io
- Hit “SDKAuth”
- Observe the app refreshing