gateway icon indicating copy to clipboard operation
gateway copied to clipboard

Way to include id token claims as headers?

Open zetaab opened this issue 1 year ago • 1 comments

Description:

I am trying to do OIDC + JWT authentication and map claims to request. However, it seems that it uses access_token for map claims to headers by default. Id token is available as cookie, but I would like to extract 2 fields from id token. Is that somehow possible to switch id token to map claims to headers?

How I could extract email from IdToken cookie (jwt) to headers?

zetaab avatar May 07 '24 06:05 zetaab

should be fixed with https://github.com/envoyproxy/gateway/pull/3274

arkodg avatar May 07 '24 19:05 arkodg