Closed gbaranski closed 2 years ago
required_spec_claims
only checks for the presence/absence of the field. validate_exp
is still set to true
in your example. There's no way to say "only validate if the field is present".
It should work in 8.1.0
Hi, the
decode
returns ExpiredSignature error when theexp
field is missing, is that the expected behaviour?In my case the token has the
exp
field, which is defined asOption<DateTime<Utc>>
, so that's not always there, and the code which looks like that: