createJwt
$0.01/invocation
Function to generate a JSON Web Token (JWT) using HMAC with SHA-256 algorithm.
createJwt(
)
=
loading...
API
python
Ruby
>_
Google Sheets
Chat
Email
To use this function in your Ruby application:
1. Install it:
gem install func_live
2. Copy over this snippet:
FuncLive.token = 'FUNC_TOKEN'
FuncLive.("createJwt", {
"secretKey": "some_random_secret_key",
"expiresIn": 3600,
"payload": {
"name": "Test User",
"email": "testuser@example.com"
}
})
3. Make sure to replace FUNC_TOKEN with an actual token from tokens.wakeflow.io
For more information: https://rubygems.org/gems/func_live