preview
We're still working on this feature, but we'd love for you to try it out!
This feature is currently provided as part of a preview program pursuant to our pre-release policies.
This page provides a comprehensive reference for authentication actions available in the workflow automation actions catalog. These actions enable you to create and manage JSON Web Tokens (JWT) for secure authentication in your workflows.
Create a JSON Web Token
Create a JSON Web Token
Input Field | Type | Description | Example |
|---|---|---|---|
algorithm | String | Algorithm used to sign the token. | RS256 Supported algorithms: RS256 ,ES256 |
privateKey | String | The private key for signing a JWT.
|
|
headers | Map | Headers provides metadata for JWT UnSupported headers: nested objects, arrays, null are not supported |
|
claims | Map | Claims are statements about an entity (typically, the user) and additional data Unsupported Claim Types: null, Nested objects / arbitrary maps, Lists containing non-strings or mixed types. |
|
expirationTimeMinutes | Int | Expiration time in minutes Expiration time should be greater than 0 and less than 30days. | 10 |
includeIssuedAt | Boolean | Issued At timestamp. Default: | true |
selectors | List |
|
Output Field | Type | Description |
|---|---|---|
success | Boolean |
|
jwt | String |
|
errorMessage | String |
|
name: create-json-web-token description: "" steps: - name: auth_jwt_create_1 type: action action: auth.jwt.create version: "1" inputs: algorithm: RS256 privateKey: ${{ :secrets:namespace:privatekey}} headers: header1: value1 claims: claim1: value1 expirationTimeMinutes: 10 next: end