-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Make user attribute option for SAML mappers required #39184
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, but will require from UI team.
js/apps/admin-ui/src/components/dynamic/UserProfileAttributeListComponent.tsx
Outdated
Show resolved
Hide resolved
js/apps/admin-ui/src/components/dynamic/UserProfileAttributeListComponent.tsx
Outdated
Show resolved
Hide resolved
Closes keycloak#37648 Signed-off-by: rmartinc <rmartinc@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unreported flaky test detected, please review
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.broker.KcOidcBrokerTest#loginWithExistingUserWithBruteForceEnabledKeycloak CI - Java Distribution IT (windows-latest - temurin - 24)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving based on previous reviews
Closes #37648
The PR just adds the
required
attribute and the user profile list type to the user attribute in the three SAML mappers. But I detected that the⚠ Required field
error message was not displayed in the UI because theerrors
variable has an intermediateconfig
key and it's not detected in the arrayerrors[convertedName!]
. I just fixed that doing a quick fix, please @keycloak/ui check if you see something better for this.