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

Email validation for managed members should only fail if it does not match the domain set to a broker #29461

Merged
merged 1 commit into from May 14, 2024

Conversation

pedroigor
Copy link
Contributor

Closes #29460

…match the domain set to a broker

Closes keycloak#29460

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
@alice-wondered
Copy link
Contributor

LGTM. Lots of database transactions for each validation but I'm not sure that's avoidable; can also be addressed if there's an issue rather than trying to optimize for that immediately

@pedroigor
Copy link
Contributor Author

pedroigor commented May 13, 2024

LGTM. Lots of database transactions for each validation but I'm not sure that's avoidable; can also be addressed if there's an issue rather than trying to optimize for that immediately

@alice-wondered Wouldn't be addressed by caching? Or do you think we can improve the logic a bit to avoid any unnecessary call?

@alice-wondered
Copy link
Contributor

@alice-wondered Wouldn't be addressed by caching? Or do you think we can improve the logic a bit to avoid any unnecessary call?

Yeah I think caching will account for the main concern I have for sure!

Copy link
Contributor

@ahus1 ahus1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving based on @sguilhen's review.

@ahus1 ahus1 merged commit 1b583a1 into keycloak:main May 14, 2024
67 checks passed
@pedroigor pedroigor deleted the issue-29460 branch May 14, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Email validation for managed members should only fail if it does not match the domain set to a broker
4 participants