I have this problem, I created a JWE in .net core using EncryptingCredentials by this way:
var key = Encoding.ASCII.GetBytes(Configuration["Core:JwtSecre