Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add email suffix support to OpenShift connector #3844

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joyrex2001
Copy link

Overview

This PR adds an optional emailSuffix configuration option to the OpenShift connector, similar to the LDAP connector emailSuffix configuration option.

What this PR does / why we need it

The email claim contains the username which might not be a valid email address. This breaks integrations which require a valid email address. By adding the emailSuffix configuration option, the connector can be used in these scenarios as well.

Special notes for your reviewer

There are two unittests that check the email claim; one has been adjusted to include the emailSuffix.

Signed-off-by: Vincent van Dam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant