QJsonWebToken icon indicating copy to clipboard operation
QJsonWebToken copied to clipboard

Qt C++ implementation of JSON Web Token (JWT)

Results 7 QJsonWebToken issues
Sort by recently updated
recently updated
newest added

you have to use Base64Options as OmitTrailingEquals | Base64UrlEncoding with toBase64 and fromBase64

Thank you for this great bit of code! I am having a problem validating, however. I created a jwt on the command line using php. I validated it via the...

* Conform to RFC7519 * Payload value type: `Its value MUST be a number containing a NumericDate value.` in * 4.1.4. "exp" (Expiration Time) Claim * 4.1.5. "nbf" (Not Before)...

Turns out that JWT uses a URL-safe form of base64 that is slightly different (described in [RFC-4648](https://tools.ietf.org/html/rfc4648#page-7)). Our application failed to read such a JWT (see below) for this reason....

Giving is a jwt (ES256) and a public-key. I want to verify the signature like this debugger: https://jwt.io/ Or is it not possible with Qt?

It is relatively easy to make a package qpm ready. It also makes it much easier to find, include and manage. See https://www.qpm.io/