We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dca110b commit 50854b5Copy full SHA for 50854b5
nodejs/jwt-oauth/index.js
@@ -120,7 +120,7 @@ router.get("/callback", async (ctx) => {
120
const oauthToken = await getJWTToken({
121
baseURL: config.coze_api_base,
122
appId: config.client_id,
123
- aud: "api.coze.cn",
+ aud: new URL(config.coze_api_base).host,
124
keyid: config.public_key_id,
125
privateKey: config.private_key,
126
});
0 commit comments