Replies: 1 comment 3 replies
-
it is already supported #292 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I would like to modify claim value that is used when setting the REMOTE_USER variable.
My claim value has the folowing form client_id : "xxx-aa_bb_cc-zzz" and I want it to be "aa-bb-cc" in REMOTE_USER.
The middle part can be any number of consecutif characteres separat by "_".
I can use an expression like
OIDCOAuthRemoteUserClaim client_id ^cli-([^-]+)-.+$
to filter out the prefix and suffix, but I can't figure it how to replace "_" by "-".
Could we have regex replace in OIDCOAuthRemoteUserClaim directive for the next release or a patch ? ;-)
Thank for your feedback
Beta Was this translation helpful? Give feedback.
All reactions