What this pattern does:

A WASM filter made to manipulate JWT token headers and payloads (currently only supports string parameters). Works best with Meshery. Sample configuration:


{
"add_header": [
["header1","value1"],
["header2","value2"]
],
"del_header":[
"header1"
],
"add_payload": [
["payload1","value1"],
["payload2","value2"],
],
"del_payload":[
"payload1"
],
"payload_to_header": [
"payload2"
],
"header_to_payload": [
"header2"
]
}

Caveats and Consideration:

DISCLAIMER: This filter doesn't regenerate the signature of the modified JWT, and provides no protections. Proceed with caution.

Compatibility:


Recent Discussions with "meshery" Tag