wasm-extensions icon indicating copy to clipboard operation
wasm-extensions copied to clipboard

Add JWT header mutation Wasm extension

Open bianpengyuan opened this issue 4 years ago • 4 comments

This is to track the work to add Wasm extension which mutates request header based on Jwt Header and recompute route based on the new header. The extension should have unit test coverage, integration test coverage, and guide on how to customize for bespoke needs.

cc @mandarjog

bianpengyuan avatar Nov 03 '20 00:11 bianpengyuan

Any idea on when this example will be available ?

vigvigneshps1995 avatar Jul 06 '21 00:07 vigvigneshps1995

Hey, I'm looking to develop a plugin for dynamic routing for our istio. This example would be great to get started. Is there anything available already?

Jonomir avatar Aug 09 '21 19:08 Jonomir

Hi bianpeng, may I know what is blocking the impl of this extension? Is it about lack of apis in proxy wasm abi?

wxdao avatar Oct 09 '21 08:10 wxdao

what is blocking the impl of this extension? Is it about lack of apis in proxy wasm abi?

No technical reason, just need someone to pick it up. We are adding first class support for jwt based routing at Istio 1.12 (https://github.com/istio/istio/pull/34974), which makes this example less useful, but PR to add this is always welcome.

bianpengyuan avatar Oct 10 '21 22:10 bianpengyuan