AnthonyDeroche / mod_authnz_jwt

An authentication module for Apache httpd using JSON Web Tokens
Other
79 stars 46 forks source link

Question - Is it possible to get the values of the claims so these can be fwd'ed as headers? #38

Open pgp44 opened 4 years ago

pgp44 commented 4 years ago

Hello

It does not look like it is possible but then I am not much of an Apache HTTPD person and not very experienced in reading module documentation.

Context - A JWT token is received containing claims that need to be 'converted' to headers so that downstream services can stay unaware of the JWT token details

Is it possible to extract claim values from the jwt token? Idea is to add the values to request headers when fwd'ing the request?

Tx!

Peter

AnthonyDeroche commented 3 years ago

Hello, it would be an interesting feature. It is not yet possible to do it. I have no time to work on this for now but any contribution is more than welcome.