错误信息

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


解决:nacos目录下conf下application.properties中,需要添加token secret

```

### The default token (Base64 String):

nacos.core.auth.plugin.nacos.token.secret.key=SecretKey0123456789012jkjskf90123456789012345678901234567890123456789

```


© 本文著作权归作者所有。转载请联系授权,禁止商用。