JWT
Generating a JWT
{
"url": "https://mock.api/connect",
"temp": {
"jwt": {
"iss": "https://iam.the.issu.er",
"iat": "{{timestamp}}",
"exp": "{{timestamp + 30000}}",
"scope": ["rest_webservices"],
"aud": "https://iam.the.audien.ce/services/rest/auth/oauth2/v1/token"
},
"options": {
"header": {
"kid": "{{parameters.clientId}}"
}
}
},
"headers": {
"authorization": "Bearer {{jwt(temp.jwt, parameters.clientSecret, 'HS512', temp.options)}}"
}
}Last updated

