title: How to decode JWE token in Angular
body: <p>I have this problem, I created a JWE in .net core using EncryptingCredentials by this way:</p>
  <pre><code>var key = Encoding.ASCII.GetBytes(Configuration[&quot;Core:JwtSecret&quot;]);
  var encryptionkey = Encoding.ASCII.GetBytes(Configuration[&quot;Core:JwtEncrype&quot;]);
  
  var tokenDescriptor = new SecurityTokenDescriptor
  {
      Subject = subject,
      Expires = DateTime.UtcNow.AddDays(Convert.ToInt32(Host.Config[&quot;Core:JwtDays&quot;])),
      SigningCredentials =
          new SigningCredentials(new SymmetricSecurityKey(key), SecurityAlgorithms.HmacSha256Signature),
      EncryptingCredentials =
          new EncryptingCredentials(new SymmetricSecurityKey(encryptionkey), SecurityAlgorithms.Aes128KW, SecurityAlgorithms.Aes128CbcHmacSha256)
  };
  var token = tokenHandler.CreateToken(tokenDescriptor);
  user.Token = tokenHandler.WriteToken(token);
  </code></pre>
  <p>How can I read token's data with angular?</p>