I have to input sdk jwt token, how i can get the sdk jwt token?

Description
i followed this guide
https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/build-run-play

then, when i do sdk_demo_v2,
i got the sreen to input sdk jwt token.

how to get the sdk jwt token?
or how to skip the process to get sdk jwt token?

i got the SDK KEY and SDK SECRET already by making app on the app market place.
even also, api key and api sercret and JWT token.

But, the JWT token is not worked on the screen to get sdk jwt token.

i think the jwt token i got, it is just jwt token not sdk jwt token.

i wanna know how to solve this problem.

Which version?
Knowing the version can help us to identify your issue faster.

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Screenshots
111111

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hello @amcole0,

Thanks for using the dev forum!

The JWT token provided with the API Key and API Secret only works for API calls and will not work with the SDK.

The JWT the demo app asks for must be created by you using your SDK Key and SDK Secret.
The header and payload for the JWT looks like this:

{
   "appKey": "string", // Your SDK key
   "iat": long, // access token issue timestamp (Current time in epoch)
   "exp": long, // access token expire timestamp, iat + a time less than 48 hours (In epoch)
   "tokenExp": long // token expire time, MIN:1800 seconds (In epoch)
}

You can build your JWT at https://jwt.io/. The signature of the JWT will be your SDK Secret.
You can also get epoch times at https://www.epochconverter.com/.

We strongly recommend using a JWT. However, you can use your SDK Key and SDK Secret directly by using tagAuthParam instead of tagAuthContext. You should only do this for testing purposes, though.

Thanks!
Michael

It might be helpful to add this JWT template to the Build, Run, & Play section on your Windows SDK page. It still has the old demo pictures before JWT was used in the Demo.

2 Likes

Hey @apdevuser,

That is a good idea! We will work to get that updated. Did this template create a valid JWT for you?

Thanks!
Michael

Hey @apresence,

Thank you for sharing this.

Michael

I have the same issue as being discussed. I followed the above template but I’m unable to create a valid JWT for authenticating through the sdk_demo_v2 windows application. Any suggestions?

Hey @santa.kotta,

Thanks for using the dev forum!

I made a small tutorial on how to create a sample JWT: "auth sdk failed" when running zoom sdk demo - #7 by Michael_Condon
Can you go through it and let me know if you are still having issues?

Thanks!
Michael