kong-jwt2header icon indicating copy to clipboard operation
kong-jwt2header copied to clipboard

limit the claims to extract

Open epourail opened this issue 4 years ago • 1 comments

Can you add a configuration to define the claims to extract (instead of all string-type claims) ?

like a comma-separted list or an array

config:
  claims: claim1, claim2

Fallback: If the claims-list is not defined, all string-type claims are extracted

epourail avatar Jan 12 '21 15:01 epourail

Good idea. Will add the option to limit this week.

nikirago avatar Jan 17 '21 15:01 nikirago