Replies: 2 comments
-
I've worked around 1. and 2. by not using In the meantime, I have switched to v26.4.0 but still found no way of importing the I got the feeling that index.ts is missing the required line. |
Beta Was this translation helpful? Give feedback.
-
I'm in the same boat as you, I would like to be able to use I guess that you already figured out that the I feel like the keycloak-quickstarts project deserves a little more attention. There are a few issues and pull requests that have been open for several months, but not much is happening. Perhaps you can look at what has been proposed in the issues and pull requests to help you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am currently trying to build a customized account-ui.
I used the
create-keycloak-theme
tool as described in the docs and updated the Keycloak version inpackage.json
afterwards.Now I am facing three issues:
The
PageNav
in the template produced bycreate-keycloak-theme
always shows all items and doesn't seem to reflect the actual features/permissions from the environment.I have merged the code from the original account UI at this point, i.e. replaced the
PageNav
by an import everywhere and adapted the routes accordingly.This approach also required to add a file
public/content.json
to make theMyPage
example show up in the navigation. This works when deploying the plugin, but not withnpm run dev
as the customcontent.json
seems to be ignored here and theMyPage
navigation item is missing.Is there a way to include the
content.json
in local development mode?Another issue with
npm run dev
: values fromtheme.properties
are ignored. We use it for example to import common CSS from another theme or to set the logo and favicon. Is there a way to make the local development mode pick it up?The quickstart example template's
routes.tsx
misses some entries from the original account UI. Adding them is straight forward, except for theOrganizations
. It seems to me that this page is not exported by@keycloak/keycloak-account-ui
and I am not able to reference it inroutes.tsx
.If organizations are enabled on a realm, the page navigation shows the item, but clicking it brings up an error page of course.
Is there another way to include organizations in the routes?
I've tried all of this both with Keycloak 26.0.5 and 26.3.4 without success. Any advice is very much appreciated.
You can find all the mentioned changes in this commit:
kahlep/keycloak-quickstarts@0f82590
Best regards
Beta Was this translation helpful? Give feedback.
All reactions