Losing Theme When Login Session Expires and Falling Back to Default Theme #43319
Unanswered
codelatte13
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey community,
I have a problem I hope someone can help me with.
When a user stays too long on the login page (without logging in) and then tries to log in, Keycloak shows a message saying the session has expired, and the user needs to refresh the page and enter their credentials again.
The issue is that when this happens, the theme is lost and it falls back to the default system theme.
What’s strange is that I’ve already set the default realm theme to the desired one, but the system doesn’t seem to recognize it. I’ve also set the theme at the client level, created a custom Theme Selector SPI, and even tried hardcoding the theme inside it — but nothing seems to work.
If anyone has an idea of what might be causing this or how to fix it, I’d really appreciate your help.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions