CreateJWT

JSON Web Token (JWT), pronounced "jot", is an open standard that defines a compact and self-contained way for securely transmitting information between parties as a JSON object.

Properties

Payload

The payload to include in the token. It must be a valid JSON string.

Algorithm

The algorithm to use in the encoding.

HS256, HS384, HS512

Secret Key

Available only when the selected Algorithm is HS256, HS384 or HS512.

The secret key as a List or Base64 to encode the payload with.


RS256, RS384, RS512

The following properties are available only when the selected Algorithm is RS256, RS384 or RS512.

Certificate file path

The file path to load the RSA key from.

Certificate password

The password protecting the key file.


ES256, ES384, ES512

Available only when the selected Algorithm is ES256, ES384 or ES512.

Load certificate from file

Select to load the ECDSA key from a file.

Private key

Available only when the Load certificate from file property is not selected.

The private key as List or Base64 to encode the payload with.

Certificate file path

Available only when the Load certificate from file property is selected.

The file path to load the ECDSA key from.

Certificate password

Available only when the Load certificate from file property is selected.

The password protecting the key file.


Introduction to JSON Web Tokens