default-to-user-email #30

Merged
stb merged 3 commits from default-to-user-email into main 2026-07-21 22:17:50 +02:00
Owner

Add flag default-to-user-email

When set for an export config, if the user doesn't have that attribute, their email will be substituted as a default. If any of the values is not a valid email address, they are filtered out.

Closes #29

Add flag default-to-user-email When set for an export config, if the user doesn't have that attribute, their email will be substituted as a default. If any of the values is not a valid email address, they are filtered out. Closes #29
Fix matchRole lookup to include group-inherited and composite roles
All checks were successful
/ Verify (push) Successful in 1m8s
/ Verify (pull_request) Successful in 46s
2c3c0a3dab
getRoleMembersStream only returns users with the role assigned
directly, so exported attributes silently excluded users who have
matchRole via group membership. Filter all realm users with
hasRole() instead, matching the resolution already used for authRole.
Add returning attributes split by name
All checks were successful
/ Verify (push) Successful in 44s
/ Verify (pull_request) Successful in 48s
464c02dfb0
Adds an endpoint that returns the list of attribute values as a map of attribute names in the requested attribute group.

This is useful for requesting the mailing list addresses, where the individual attributes apply to different mailing lists.
Merge branch 'main' into add-map-endpoint
Some checks failed
/ Verify (pull_request) Failing after 39s
/ Verify (push) Failing after 40s
9073ef086a
* simplify AttributeEndpointsResourceProvider
* improve explanation of properties in AdminUiPage
* add example for mailing lists and map endpoint
* better explain configuration and operation of provider in main readme
* adjust the Keycloak realm
* Add unit test for endpoint class
Add running tests
All checks were successful
/ Test (push) Successful in 52s
/ Test (pull_request) Successful in 54s
1c2adb1a92
Flag default-to-user-email
All checks were successful
/ Test (push) Successful in 56s
/ Test (pull_request) Successful in 48s
149d98f90e
When set for an export config, if the user doesn't have that attribute, their email will be substituted as a default. If any of the values is not a valid email address, they are filtered out.

Closes #29
stb requested reviews from june, kritzl, lilly 2026-07-18 20:01:04 +02:00
Owner

I unfortunately do not own any code of this repository, do not know any keycloak internals, and can add nothing to the review :|

I unfortunately do not own any code of this repository, do not know any keycloak internals, and can add nothing to the review :|
lilly refused to review 2026-07-18 20:54:49 +02:00
stb force-pushed default-to-user-email from 149d98f90e
All checks were successful
/ Test (push) Successful in 56s
/ Test (pull_request) Successful in 48s
to d38c4ab6a6
All checks were successful
/ Verify (pull_request) Successful in 53s
2026-07-21 21:57:02 +02:00
Compare
Simplify
All checks were successful
/ Verify (pull_request) Successful in 46s
2243397e85
Use correct testing output
All checks were successful
/ Verify (pull_request) Successful in 48s
16dad269dd
june approved these changes 2026-07-21 22:17:24 +02:00
june left a comment

Nice!

Nice!
stb merged commit b5c83f7210 into main 2026-07-21 22:17:50 +02:00
stb deleted branch default-to-user-email 2026-07-21 22:17:50 +02:00
stb referenced this pull request from a commit 2026-07-21 22:17:52 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
CCCHH/keycloak-attribute-endpoints-provider!30
No description provided.