Overview#JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants is defined in RFC 7523 and describes using JSON Web Token (JWT) OAuth 2.0 Profiles for OAuth 2.0 Client Authentication and Authorization Grants
JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants follows the Assertion Framework for OAuth 2.0 Client Authentication and Authorization Grants.JWT Bearer Token can be used to request an Access Token when a client wishes to utilize an existing trust relationship, expressed through the semantics of the JWT, without a direct user-approval step at the Authorization Server. RFC 7523 also defines how a JWT can be used as a client Authentication Mechanism.
The use of a security token for client authentication is orthogonal to and separable from using a security token as an Authorization Grant. They can be used either in combination or separately. Client authentication using a JWT is nothing more than an alternative way for a client to authenticate to the token endpoint and must be used in conjunction with some Grant Type to form a complete and meaningful protocol request. JWT authorization Grants may be used with or without client authentication or identification. Whether or not client authentication is needed in conjunction with a JWT Authorization Grant, as well as the supported types of client authentication, are policy decisions at the discretion of the Authorization Server.