I am getting the url validation error. I am using Java in a jsp page, and my code is as such, and I display both versions that I have tried:
Mac mac = Mac.getInstance(“HmacSHA256”);
SecretKeySpec secretKeySpec = new SecretKeySpec(secretToken.getBytes(StandardCharsets.UTF_8), “HmacSHA256”);
mac.init(secretKeySpec);
Hi Tommy can you resolve this why mw signature and header x-zm-signature not matching here is the code that i am using in a lambda function
import crypto from “crypto”
export const handler = async(event) => {
// Get the verification token from the Zoom App dashboard
const zoomVerificationToken = process.env.ZOOM_VERIFICATION_TOKEN;
// Get the headers from the incoming webhook event
const headers = event.headers;
const body = event.body;
console.log(“Incoming Headers”,headers)
console.log(“Incoming Body”,body)
const message = v0:${headers['x-zm-request-timestamp']}:${JSON.stringify(body)}