example how to extend the UI with SPI#521
Conversation
b631521 to
6a1130b
Compare
|
nice idea, really like it. I think would be extremly helpful for extensions. Any timeplan in which Keycloak Version it will be available? |
f7c8b1a to
d382874
Compare
hmlnarik
left a comment
There was a problem hiding this comment.
Thank you for the changes. It looks like a most welcome addition worth a quickstart.
Could you add more explanation on the methods in the added java classes - when they are called and what they do, to make them quick to grasp? Also an automated test needs to be added to check the quickstart works correctly.
hmlnarik
left a comment
There was a problem hiding this comment.
The test fails in the GHA, please fix. Perhaps the .github/scripts needs updating.
Please also see the inline comments
...n/extend-admin-console-spi/src/test/java/org/keycloak/quickstart/ExtendAdminConsoleTest.java
Outdated
Show resolved
Hide resolved
extension/extend-admin-console-spi/src/test/java/org/keycloak/quickstart/ExtendedAdminPage.java
Outdated
Show resolved
Hide resolved
2438df1 to
5845f67
Compare
| ``` | ||
|
|
||
| ### Undeploy the quickstart | ||
| Remove sysout listener from your realm in the admin console, delete file providers/event-listener-sysout.jar and restart the server. No newline at end of file |
There was a problem hiding this comment.
Please update the provider name
|  | ||
|
|
||
| ### Integration test of the Quickstart | ||
| Make sure you have a Keycloak server running with an admin user in the master realm or use the provided docker image. |
There was a problem hiding this comment.
This does not fit, the provider needs to be installed into the server first.
5845f67 to
1a875df
Compare
Signed-off-by: Erik Jan de Wit <[email protected]> added explanation on where to find the examples Signed-off-by: Erik Jan de Wit <[email protected]> use the parent pom Signed-off-by: Erik Jan de Wit <[email protected]> added test Signed-off-by: Erik Jan de Wit <[email protected]> Update extension/extend-admin-console-spi/README.md Co-authored-by: Hynek Mlnařík <[email protected]> Signed-off-by: Erik Jan de Wit <[email protected]> Update extension/extend-admin-console-spi/README.md Co-authored-by: Hynek Mlnařík <[email protected]> Signed-off-by: Erik Jan de Wit <[email protected]> Update extension/extend-admin-console-spi/src/test/java/org/keycloak/quickstart/ExtendAdminConsoleTest.java Co-authored-by: Hynek Mlnařík <[email protected]> Signed-off-by: Erik Jan de Wit <[email protected]> Update extension/extend-admin-console-spi/README.md Co-authored-by: Hynek Mlnařík <[email protected]> Signed-off-by: Erik Jan de Wit <[email protected]> Update extension/extend-admin-console-spi/README.md Co-authored-by: Hynek Mlnařík <[email protected]> Signed-off-by: Erik Jan de Wit <[email protected]> Update extension/extend-admin-console-spi/README.md Co-authored-by: Hynek Mlnařík <[email protected]> Signed-off-by: Erik Jan de Wit <[email protected]> Update extension/extend-admin-console-spi/README.md Co-authored-by: Hynek Mlnařík <[email protected]> Signed-off-by: Erik Jan de Wit <[email protected]> update license header Signed-off-by: Erik Jan de Wit <[email protected]> removed deps Signed-off-by: Erik Jan de Wit <[email protected]> added providers jas for extend-admin-ui Signed-off-by: Erik Jan de Wit <[email protected]> added save todo test added test for the realm attribute settings page Signed-off-by: Erik Jan de Wit <[email protected]>
1a875df to
0ec20ac
Compare
This is an example of how to extend the admin ui by implementing the SPI.
Because this is not merged yet this PR is a draft
see keycloak/keycloak#23772