Generates JSON Web Tokens (JWT) from the provided payload and the private key with the selected encryption algorithm.
![](https://logicbuilder.integroscrm.com/help/wp-content/uploads/2023/04/img-207-0be7d332391b4eb09e9d0941ad799d49.png)
inputs
payload – link the claims in JSON format, e.g.
{
"sub": "1234567890",
"name": "John Doe",
"admin": true
}
- Required: yes
private key – link with the private key value for RSA algorithms or secret for HMAC ones.
Note: private key must begin with —–BEGIN PRIVATE KEY—– and ends with —–END PRIVATE KEY—–
- Required: yes
algo – link or directly specify encryption algorithm. Currently, supported algorithms are HS256, HS384, HS512, RS256, RS384, and RS512.
- Required: yes
outputs:
jwt – generated JWT
![](https://logicbuilder.integroscrm.com/help/wp-content/uploads/2023/04/img-207-9a0a4cc22f4e4c38bab104cd3d560789.png)
Click to rate this post!
[Total: 0 Average: 0]