You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Smooch认证异常:JWT正常但key_id/secret认证失败,求兼容或回退方案

Smooch API Authentication: Enabling Both JWT & Key/Secret or Reverting to Key/Secret

Hey there, let's tackle your Smooch API authentication questions head on:

Can I enable both JWT and Key ID/Secret authentication at the same time?

Short answer: No. Smooch's API doesn't support running both authentication methods simultaneously for a single app. Once you switch to JWT authentication, the system automatically disables the Key ID/Secret authentication flow — that's exactly why your current Key/Secret requests are failing.

How do I revert back to using Key ID/Secret authentication?

If you need to switch back to the traditional Key ID/Secret setup, follow these straightforward steps:

  • Log into your Smooch admin dashboard and navigate to your app's settings page
  • Locate the Authentication configuration section
  • Disable the JWT authentication mode and toggle back to the Key ID/Secret option
  • Save your changes, wait a few minutes for the settings to propagate, and then you should be able to use your Key ID and Secret for API requests again

Why is my Key ID/Secret authentication failing right now?

The primary reason is that JWT authentication is still active for your app — Smooch locks out the Key/Secret method once JWT is enabled. That said, it's worth doing a quick double-check:

  • Ensure your Key ID and Secret are copied correctly (no extra spaces, typos, or formatting errors)
  • Verify that the credentials haven't been revoked or expired in your Smooch dashboard

内容的提问来源于stack exchange,提问作者rakeshpatra

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 06:31:17