Skip to content

How to add a custom prefix to the user and groups claim coming from an external oidc #1246

Answered by cfryanr
deepanjan90 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @deepanjan90,

Unfortunately, Pinniped doesn't have an option for this yet. We've considered adding a feature to allow prefixing usernames and groups (and maybe other string transformations too), but it hasn't been prioritized yet. If you could explain more about your use case, and why you would like to use prefixes, that might help us make prioritization decisions about the potential feature. (cc @anjaltelang)

You are able to configure which claims from the upstream OIDC Provider's ID tokens are used by Pinniped to discover the usernames and group memberships of your users (see https://github.com/vmware-tanzu/pinniped/blob/main/generated/1.24/README.adoc#k8s-api-go-pinniped-dev-generat…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by deepanjan90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants