tweaselORG / TrackHAR

Library for detecting tracking data transmissions from traffic in HAR format.
Creative Commons Zero v1.0 Universal
5 stars 0 forks source link

Add JWT decoding function #79

Open zner0L opened 2 weeks ago

zner0L commented 2 weeks ago

In #70 and #76 we encountered data encoded as a JSON web token. While these might be encrypted, this is not the general use case, rather they are signed tokens which can contain rich information such as ids, email addresses and more. If they are not encrypted, JWTs are simply Base64Url-encoded JSON (see https://jwt.io/introduction). jwt-decode seems like a decent library for this.