jonasroussel / dart_jsonwebtoken

A dart implementation of the famous javascript library 'jsonwebtoken'
MIT License
87 stars 29 forks source link

issue on checking audience #18

Closed walid1001 closed 2 years ago

walid1001 commented 2 years ago

hi with this condition the code never check the audience

https://github.com/jonasroussel/dart_jsonwebtoken/blob/855be021a6b7f46f711aeee181ab2744251dfc25/lib/src/jwt.dart#L97

when aud is set the code need to fire an exception even if the token don't contains that aud

regards

jonasroussel commented 2 years ago

Merged ! https://github.com/jonasroussel/dart_jsonwebtoken/pull/19

Will be in the next version : v2.4.1