Description
I am getting an error. I am import your test “zoom-sdk-web-1.9.0.zip” in Asp.NET MVC. I try signature genereated by Serverside and “ZoomMtg.generateSignature”.
Error
When I use “ZoomMtg.generateSignature” I get “Signature invalid.”
When I use “https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/signature” site C# part I get “Signature invalid.”
When I use same marketplace site C# part and I changed
(ToTimestamp(DateTime.UtcNow.ToUniversalTime()) - 30000).ToString();
to
(ToTimestamp(DateTime.Now) - 30000).ToString();
I get “The signature has expired.”
Thank you for reaching out to the Zoom Developer Forum. Please provide the signature that you’re using when this happens and I’ll investigate this further.
When I use same marketplace site C# part and I changed
(ToTimestamp(DateTime.UtcNow.ToUniversalTime()) - 30000).ToString();
to
(ToTimestamp(DateTime.Now) - 30000).ToString();
I get “The signature has expired.”
Signature =
Thank you for providing additional information. It looks like you are using your SDK Key and Secret in order to generate these signatures. Please use the API Key and Secret from a JWT app instead:
Thank you for the update. Just to clarify, you were able to generate a valid signature using the JWT credentials and you’re wondering why the SDK credentials don’t work, is that correct?
If so, this is the expected behavior when using the Web SDK. You will need to generate a signature with the JWT credentials instead of the SDK credentials regardless of the plan that you’re on.