Step 1: Request the JWT
On page load, make a server side request to our secure token API and obtain your JWT.
Optionally,
set context for query rules
when you create the JWT using the fixed_query_params
property. For example, the request body might look as follows:
{
"api_key": "REPLACE_ME_API_KEY",
"expires_in": 1440,
"auth_identifier": "Rose",
"signing_algorithm": "RS256",
"fixed_query_params": {
"context": "{'name': 'ava'}"
}
}
Feedback
<% elem.innerText %>