The flow of JSON Web Token Grants is very similar to that of Client Credentials grants, but the token request can contain much more encoded data.
As of the current version, only a small subset of the JWT specification is supported.
Please refer to the tests in order to implement this grant type.