diff --git a/nodejs/jwt-oauth/index.js b/nodejs/jwt-oauth/index.js index 4e3e330..7adef66 100644 --- a/nodejs/jwt-oauth/index.js +++ b/nodejs/jwt-oauth/index.js @@ -118,7 +118,7 @@ router.get("/callback", async (ctx) => { appId: config.client_id, aud: "api.coze.cn", keyid: config.public_key_id, - privateKey: config.client_secret, + privateKey: config.private_key, }); // Check if it's an AJAX request