Account console theme component template migrate v21 -> v22

I’m trying to upgrade v21 to v22. I was extending the v21 account theme component but it has been completely removed for some reason. Now the only available one to extend is in keycloak.v2, but this is bears no resemblance to the old template, with some complicated looking embedded React stuff going on … Is there any guidance on porting? Can I copy the old base account theme component and expect it to work?

Upgrade to 23, then you can use the old console again: Allow overriding Account Console resources for full control and backwards compatibility · Issue #22318 · keycloak/keycloak · GitHub

2 Likes

You’ll need to do some packaging yourself, but as @dasniko says, the “old” account console is possible to use again as of v23. There is the old base account theme packaged here:
Repo here: GitHub - p2-inc/keycloak-account-v1: Java Resources and FTL templates for Keycloak theme v1
Jars released here: Central Repository: io/phasetwo/keycloak/keycloak-account-v1
But if you want to use the old keycloak account theme, you’ll have to add it to that extension.

1 Like