Commit graph

55 commits

Author SHA1 Message Date
6cd678b414 Spell option correctly
All checks were successful
/ Verify (push) Successful in 45s
2026-07-18 21:41:42 +02:00
89ce38f6c1 Be less verbose when building
Some checks failed
/ Verify (push) Failing after 17s
2026-07-18 21:40:39 +02:00
0a84d2ddf9 Only build when pushing to main
All checks were successful
/ Verify (push) Successful in 46s
or on a pull request
2026-07-18 21:38:50 +02:00
stb
94eeb9e757 Merge pull request 'Add integration test for ssh key export' (#28) from integration-testing into main
All checks were successful
/ Verify (push) Successful in 41s
Reviewed-on: #28
Reviewed-by: kritzl <kritzl@noreply.git.hamburg.ccc.de>
2026-07-18 15:09:37 +02:00
f586e5feee Integration test to demonstrate ssh key export
All checks were successful
/ Verify (push) Successful in 45s
/ Verify (pull_request) Successful in 45s
2026-07-18 15:02:12 +02:00
5e279f8c71 Assign roles to service account user, not the client 2026-07-18 15:01:48 +02:00
b292fd8023 Give a meaningful error message when the necessary role is missing 2026-07-18 15:01:26 +02:00
stb
46622825f4 Merge pull request 'Update actions/checkout action to v7' (#21) from renovate/actions-checkout-7.x into main
All checks were successful
/ Verify (push) Successful in 45s
Reviewed-on: #21
2026-07-18 14:17:23 +02:00
stb
6b12072145 Merge branch 'main' into renovate/actions-checkout-7.x
All checks were successful
/ Verify (push) Successful in 54s
/ Verify (pull_request) Successful in 48s
2026-07-18 14:17:02 +02:00
stb
23ecf682d6 Merge pull request 'Update maven plugins' (#19) from renovate/maven-plugins into main
Some checks failed
/ Verify (push) Has been cancelled
Reviewed-on: #19
2026-07-18 14:16:50 +02:00
stb
93dc7ddc75 Add a Docker Compose setup with debugging and testing realm (#27)
Some checks failed
/ Verify (push) Has been cancelled
Configure Keycloak to allow attaching a debugger (localhost:8081).

Add a testing realm with suitable example entries, and explain how to update and export the realm.

Reviewed-on: #27
2026-07-18 14:16:14 +02:00
dfd10b16dc Fix matchRole lookup to include group-inherited and composite roles (#25)
All checks were successful
/ Verify (push) Successful in 48s
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.

Closes #20

Reviewed-on: #25
2026-07-18 14:14:44 +02:00
58ffc634ba Update actions/checkout action to v7
All checks were successful
/ Verify (pull_request) Successful in 44s
/ Verify (push) Successful in 46s
2026-06-18 15:02:15 +00:00
afbda2a52f Update maven plugins
All checks were successful
/ Verify (push) Successful in 47s
/ Verify (pull_request) Successful in 47s
2026-05-27 20:47:03 +00:00
91554ec588 Update Keycloak packages to v26.6.0
All checks were successful
/ Verify (pull_request) Successful in 1m2s
/ Verify (push) Successful in 1m44s
2026-04-11 20:41:18 +02:00
a66dc2792a Update dependency junit:junit to v4.13.2
All checks were successful
/ Verify (pull_request) Successful in 59s
/ Verify (push) Successful in 52s
2026-04-11 18:25:31 +02:00
5e5a6fcae0 Update maven plugins
All checks were successful
/ Verify (pull_request) Successful in 50s
/ Verify (push) Successful in 1m0s
2026-04-04 23:30:43 +00:00
c67f727fb2 Update maven plugins to v3
All checks were successful
/ Verify (pull_request) Successful in 53s
/ Verify (push) Successful in 44s
2026-04-04 23:09:37 +00:00
5ff157791a Update Keycloak packages to v26.5.7
All checks were successful
/ Verify (pull_request) Successful in 1m0s
/ Verify (push) Successful in 44s
2026-04-05 01:06:04 +02:00
75117dff1e Migrate config renovate.json
All checks were successful
/ Verify (pull_request) Successful in 1m9s
/ Verify (push) Successful in 48s
2026-04-03 22:02:08 +00:00
f09bb791bb
group keycloak package updates
All checks were successful
/ Verify (push) Successful in 49s
2026-04-03 23:43:56 +02:00
7f3f38f15c Merge pull request 'Configure Renovate' (#4) from renovate/configure into main
All checks were successful
/ Verify (push) Successful in 51s
Reviewed-on: #4
2026-04-03 23:25:26 +02:00
2e08e9d12c
group maven plugins
See: https://github.com/renovatebot/renovate/discussions/31855
2026-04-03 23:25:09 +02:00
812bae81c0
Add renovate.json 2026-04-03 23:25:09 +02:00
451d9e179d
add CI to run maven verify
All checks were successful
/ Verify (pull_request) Successful in 58s
/ Verify (push) Successful in 53s
2026-04-03 23:18:19 +02:00
348e097e3b
license this project 2026-04-03 23:10:26 +02:00
e315d0a2c7 Merge pull request 'Add Makefile and Documentation for Building the Provider' (#2) from building_help into main
Reviewed-on: #2
Reviewed-by: kritzl <kritzl@noreply.git.hamburg.ccc.de>
2026-03-31 22:26:03 +02:00
55168d1d01 Merge pull request 'Configure Extension with UiPageProvider' (#1) from addUiPageProvider into main
Reviewed-on: #1
Reviewed-by: June <june@noreply.git.hamburg.ccc.de>
2026-03-31 17:53:06 +02:00
324fe35f5a
add note on how to get an example keycloak setup for the example setup 2026-03-31 16:03:59 +02:00
bd9e5a6f3e
add Makefile and docs on how to build the provider 2026-03-31 16:03:59 +02:00
964a593dbd
remove emojis from example in README as well 2026-03-31 15:58:02 +02:00
85bd0c6572
only perform further validation, if config string isn't null
For the configAttributeSlug the further validation fails ugly otherwise
and there's generally no need to do further validation, if a config
string is null.
2026-03-31 15:54:39 +02:00
5e791af057
add null checks 2026-03-31 14:31:07 +02:00
393284ebdc
remove realm exports 2026-03-31 14:07:25 +02:00
ffa6c92c65
renaming and sort some code 2026-03-31 14:05:24 +02:00
88ffb9b9f4
validate configuration before saving it 2026-02-21 15:46:41 +01:00
769fdd704a
ignore regex filter when empty 2026-02-17 16:50:48 +01:00
1381bf6b2a
update README 2026-02-17 16:16:48 +01:00
4471b077b1
rename provider 2026-02-17 15:26:47 +01:00
8ea38a0748
implement TODOs
- fetch configuration of AdminUiPage Component
- validate config
- use configuration to get attributes
2026-02-17 15:16:16 +01:00
a7be1213af
Attempt to use the UiPageProvider to configure endpoints
Co-authored-by: June june@jsts.xyz
2026-02-17 13:17:42 +01:00
8d190c2970
simplify auth validation
Co-authored-by: June <june@jsts.xyz>
2025-11-01 02:05:53 +01:00
9fe298a899
move auth chack to top of route handler 2025-11-01 01:51:48 +01:00
c60c4978df
fix: use list instead of consumed stream 2025-11-01 01:49:54 +01:00
119a89f2ee
have export endpoint actually return a list of valid keys
Dynamically get a list of attributes to get the keys from, get their
values, ensure they are in a valid format using a regex and finally
return the list of keys as a JSON list.

Co-authored-by: kritzl <kritzl@kritzl.dev>
2025-10-31 23:59:38 +01:00
e4b4497b30
introduce path parameter in export endpoint for specifying group id
Co-authored-by: kritzl <kritzl@kritzl.dev>
2025-10-31 19:54:35 +01:00
8e9674cf5c
update dev setup in compose.yaml
Co-authored-by: kritzl <kritzl@kritzl.dev>
2025-10-31 19:54:33 +01:00
9a4dbfeb16
remove test route
Co-authored-by: kritzl <kritzl@kritzl.dev>
2025-10-31 19:54:30 +01:00
c518d4a514
rename package
Co-authored-by: kritzl <kritzl@kritzl.dev>
2025-10-31 19:54:28 +01:00
e318c3b386
gitignore .DS_Store and .vscode 2025-10-31 19:35:32 +01:00