Wstunes / SwiftyJWT

A library to generate JWT with Swift
MIT License
48 stars 30 forks source link

JWT header decoding crash if "typ" key is missing #9

Closed petik3 closed 5 years ago

petik3 commented 5 years ago

Type of JWT should be infered as "JWT" if no "typ" key is present in the header section. Instead parsing fails if the "typ" key is missing.

petik3 commented 5 years ago

10

Wstunes commented 5 years ago

Merged. Thanks for your contribution.