Im trying to create a JWT token signed by the private key and cant find a way how.
The docs only have this example for signing but it creates a JWS instead
Token = jwt.JWT(header={"alg": "HS256"},
claims={"info": "I'm a signed token"})
Token.make_signed_token(key)
Token.serialize()
Is there a way to sign a JWT by private key and return a JWT?