Token's Signature resulted invalid when verified using the Algorithm: HmacSHA256

Description
Working on zoom api to retrieve user token and create new meeting. so i generated token as per zoom api token authorization docs through java like with some required payloads.

String jwtToken = JWT.create().withIssuer(key).withIssuedAt(issureDate).withExpiresAt(expiryDate).sign(Algorithm.HMAC256(secreateKey));

And if tried with token which is generated in app credentials tab of created JWT app for testing purpose then it works fine for me.

Let me know where i doing mistake or how i can resolve this issue or how can generate jwtToken as per zoom api token authorization docs through java

note - we have upgraded from pro to business account.

Error
{

"code": 124,

"message": "The Token's Signature resulted invalid when verified using the Algorithm: HmacSHA256"

}

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT

Which Endpoint/s?
https://api.zoom.us/v2/users/me/token
https://api.zoom.us/v2/users/me/meetings

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

  1. Request URL / Headers (without credentials) / Body
  2. See error

Hi @lukman.d,

Have you had a chance to check out the libraries on https://jwt.io? We recommend leveraging one of these for generating your JWT token programmatically.

Thanks,
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.