繁体   English   中英

无法解码令牌的 json:json:无法将数组解组为字符串类型的 Go 结构字段 StandardClaims.aud

[英]could not decode the json of token: json: cannot unmarshal array into Go struct field StandardClaims.aud of type string

我收到错误消息

error: error: could not get a token from the cache or provider: error while authentication: invalid token and you need to remove the cache: could not decode the json of token: json: cannot unmarshal array into Go struct field StandardClaims.aud of type string

在访问我的 kubernetes 集群时在 kubectl 上启用了 OpenID 身份验证。

当我删除本地 OpenID 令牌时,一切都会再次正常工作,但只是一次。 然后错误消息回来了。

有什么想法可能是错的吗?

最好的问候, rforberger

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM