Skip to content
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

ThemeUiTab template not showing #603

Open
dams666 opened this issue Sep 12, 2024 · 5 comments
Open

ThemeUiTab template not showing #603

dams666 opened this issue Sep 12, 2024 · 5 comments

Comments

@dams666
Copy link

dams666 commented Sep 12, 2024

Describe the bug

Following this tutorial:
https://github.com/keycloak/keycloak-quickstarts/tree/latest/extension/extend-admin-console-spi
I've compiled extend-admin-ui.jar, downloaded keycloak 25.0.5, and placed the extension in the /provider directory.
The class is loading correcty (see the logs), but the tab is not showing.

image

Java version: 17
openjdk 17.0.10 2024-01-16
OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7)
OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing)

Version

25.0.5

Expected behavior

No response

Actual behavior

Tab not showing, as described in:
https://github.com/keycloak/keycloak-quickstarts/blob/latest/extension/extend-admin-console-spi/README.md

How to Reproduce?

No response

Anything else?

No response

@christian7dev
Copy link

run it with

--features=declarative-ui
like
bin/kc.sh start-dev --features=declarative-ui

@dams666
Copy link
Author

dams666 commented Sep 17, 2024

Thx christian7dev, it works now.

In order to avoid hours of unnecessary suffering, this should be added to the documentation:
https://github.com/keycloak/keycloak-quickstarts/tree/latest/extension/extend-admin-console-spi

@dams666 dams666 closed this as completed Sep 17, 2024
@dams666 dams666 reopened this Sep 17, 2024
@dams666
Copy link
Author

dams666 commented Sep 17, 2024

There is no mention of this new feature in the release note either : https://www.keycloak.org/docs/latest/release_notes/index.html

@christian7dev
Copy link

can you edit the path after you save it ?

@dams666
Copy link
Author

dams666 commented Sep 17, 2024

I'm trying to understand the possibilities of the declarative interface, For now the documentation is quite limited, and we seem to be in the experimal side of things.
My need is the following:

I would like to implement a tab containing a button. When clicked, this button calls an API. This API would return a file that would be downloaded by the user.

Is it possible currently?
Thx in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants