.netcore 解析JWT中间Base64报错 电脑版发表于:2020/9/23 15:10 ![.netcore](https://img.tnblog.net/arcimg/hb/c857299a86d84ee7b26d181a31e58234.jpg ".netcore") >#.netcore 解析JWT中间Base64报错 [TOC] ![](https://img.tnblog.net/arcimg/hb/6646c317b56e4dc79d6f483bf3c75bbc.png) ###解析时改为 ```csharp var jsonPayload = Base64UrlEncoder.Decode(basepayload); var claims = JsonConvert.DeserializeObject<Dictionary<string, string>>(jsonPayload); ```