JWT strings must contain exactly 2 period characters. Found: 0
时间: 2023-11-14 09:35:55 浏览: 239
RuoYi-Vue(RuoYi):基于SpringBoot的官方仓库,Spring Security,JWT,Vue&Element的前替代分离权限管理系统
This error message indicates that the input provided as a JWT string does not have the expected format. JWT strings consist of three parts separated by period characters: the header, the payload, and the signature. Each of these parts should be base64-encoded and separated by a period character.
If the input provided does not contain any period characters, it is not a valid JWT string. It is possible that the input has been truncated or modified in some way, or that it was never intended to be a JWT string.
To resolve this error, ensure that the input provided is a valid JWT string with all three parts separated by exactly two period characters. If necessary, regenerate the JWT string or obtain a new one from the appropriate source.
阅读全文