-
Notifications
You must be signed in to change notification settings - Fork 999
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
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
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.
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.
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.
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. |
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.
Please update the provider name
![todo detail screen](images/img_2.png, "Todo item details") | ||
|
||
### 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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