Nacos.设置鉴权出现错误怎么办?

Nacos.设置鉴权出现错误?.. 114 common frames omitted
Caused by: java.lang.IllegalArgumentException: The specified key byte array is 0 bits which is not secure enough for any JWT HMAC-SHA algorithm. The JWT JWA Specification (RFC 7518, Section 3.2) states that keys used with HMAC-SHA algorithms MUST have a size >= 256 bits (the key size must be greater than or equal to the hash output size). See https://tools.ietf.org/html/rfc7518#section-3.2 for more information.
at com.alibaba.nacos.plugin.auth.impl.jwt.NacosJwtParser.(NacosJwtParser.java:49)

展开
收起
真的很搞笑 2024-07-09 15:02:58 713 分享 版权
0 条回答
写回答
取消 提交回答