Hi there!
Im running KC 24 and having trouble when deploying new versions of custom themes. Im deploying my themes as jar-Files in the providers folder.
When I deploy a new version of an existing theme to my Keycloak instance all user sessions are gone. I´ve read, KC 25 might help with that.
But also, the deployment itself is really messy: The only way for me to ensure all changes in the theme are really shown, is to change the ID for the current KC version in the MIGRATION_MODEL database table, before restarting Keycloak.
I´m assuming this approach is also the reason for the lost user sessions, because without this hack the user sessions are still there after restart.
Also I noticed, that not all parts of my theme need this special approach to ensure changes are visible after restart. For the theme files itself a restart is sufficient. But within my login theme I´m using java script which reads txt-files and displays them in some special popups. For changes in those txt-files or in the css-files used there, the approach described above unfortunately is necessary.
This all seems really messy to me and I think there has to be a better way too deploy a new theme version.
Any suggestions?
Regards
Lars