Repository navigation
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. |
|
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. |
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-themetool as described in the docs and updated the Keycloak version inpackage.jsonafterwards.Now I am facing three issues:
The
PageNavin the template produced bycreate-keycloak-themealways 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
PageNavby an import everywhere and adapted the routes accordingly.This approach also required to add a file
public/content.jsonto make theMyPageexample show up in the navigation. This works when deploying the plugin, but not withnpm run devas the customcontent.jsonseems to be ignored here and theMyPagenavigation item is missing.Is there a way to include the
content.jsonin local development mode?Another issue with
npm run dev: values fromtheme.propertiesare 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.tsxmisses 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-uiand 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
All reactions