mesosphere / traefik-forward-auth

214 stars 46 forks source link

Make claim used for X-Forwarded-User configurable #64

Open thmo opened 2 years ago

thmo commented 2 years ago

It would be nice if one could configure the claim that ends up in X-Forwarded-User to be different from the email claim, e.g., use preferred_username.

See also: thomseddon/traefik-forward-auth/issues/266.

adyanth commented 2 years ago

Would also be nice to have other attributes/claims mapped to headers, such as X-Forwarded-Email or X-Forwarded-Groups.

dleske commented 4 months ago

Still interested in this--does anybody have a solution or an alternative?