Decoding and validating .net generated JWT in Rust
{
"alg": "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256",
"kid": "39DF5C7BB201F5B55038F55CBCD740EAE411A7B3",
"typ": "JWT"
}
We have .net generated JWT token in company that we need to validate in Rust application.
I'm trying to use jsonwebtoken crate for rust but running into issues that alg is not standard value for JWT. Error is thrown in decode or decode_header method in from jsonwebtoken.
How to decode and validate this type of jwt properly in Rust application?