Thanks for the post. We have removed the following 4 files in the demo app since they are not being used:
zoomHmacSHA256.h
zoomHmacSHA256.cpp
HttpRequestHelper.h
HttpRequestHelper.cpp
However, somehow the links to the above 4 files still exist in sdk_demo_v2_2015.sln and sdk_demo_v2_2017.sln. Please try to remove the reference to the above 4 files and then it should work.
We have updated the Windows SDK demo app for this issue. Please download the latest version of Windows SDK and try again: https://github.com/zoom/zoom-sdk-windows
When it runs, I enter our domain, then get this prompt: What am I supposed to enter here? I followed the instructions and I started an App and got as toke, but it doesn’t work. Thanks so much.
msides, this is the issue I was actually having. Glad to see I’m not going crazy. Reverting to the previous official version (two commits ago in git), there are two boxes, one for token and the other for secret (sdk or jwt).
Now that I’ve done a bit more testing, I’ll elaborate:
I have built the demo application using vs 2015 and 2017. Both successfully compile the code and produce a .exe file. When run, both will produce the panel pictured in msides last reply after entering the domain. No combination of keys and tokens (sdk or jwt; key, secret, or token) can get me past that panel.
This is with the latest version (commit made 4 days ago).
When I revert the last two commits, I instead get this:
This works with my sdk credentials, but checking the “Auth with JWT token” box doesn’t allow me to log on, though the boxes themselves change.
Thanks for the reply. We are trying to encourage people to use the JWT token that is generated from SDK key/secret instead of using the key/secret directly. We are working on enhancing the documentation to reflect this so it might be a little bit confusing right now. Please see my answer above for the instruction.
Thanks for the reply. From the GitHub changelog, I was able to generate a jwt token from the sdk key and secret, but I still get the “auth sdk failed” error panel. I’m not sure if I’m formatting the timestamps and “tokenExp” correctly. Are “exp” and “tokenExp” the same? Is there a specific format? I would guess ISO 8601 for the timestamps, but I still don’t know that “tokenExp” should be in that case.
@carson.zoom, thanks again for the help so far. I am generating jwt tokens from the sdk key/secret, but I still get errors. Now, the error panel that shows is seen below:
I’ve looked through the documentation, and I can’t find error code 10124. Any ideas on this one?
Carson, thanks so much for helping me with this. On another thread, I discovered the problem with my payload. Somewhere along the line, I switched “appKey” to just “key”. I now have it working.
I am still getting the 10124 error. my payload is
Hi @carson.zoom, @nick_ortega
{
“key”: “--------------------hidden-----------------------”,
“iat”: 1595755181560,
“exp”: 1595757009404,
“tokenExp”: 1595757009404
}
I’d like to ask for help here as well. I’m trying to run the SDK demo on my own laptop and I’ve got it running without issue. But when I try to add the JWT token I generated, it returns an error saying “auth sdk failed”
I’m using the advised iat, exp and tokenExp times but keep getting error 10124. I should note that I’m manually setting these times at jwt. io .
Is there a way to add this to the node js api ?
Thanks for the reply. Are you using SDK key/secret to generate the JWT token? Could you provide another sample of the JWT payload? In the last sample of the JWT payload, the iat, exp and tokenExp are the same, which causing the error.