-
Bug
-
Resolution: Done
-
Undefined
-
None
-
False
-
-
False
-
-
Before reporting an issue
[X] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
translations
Describe the bug
Theme messages are not enhanced in KeycloakErrorHandler with realm's overrides (realm settings -> localization -> realm overrides). That means whenever there is a error like "BAD REQUEST" or "NOT FOUND", default messages are used in the templates.
Version
main
Regression
[ ] The issue is a regression
Expected behavior
Messages are enhanced in KeycloakErrorHandler
Actual behavior
Messages are not enhanced in KeycloakErrorHandler
How to Reproduce?
Have a custom login theme and some realm overrides defined for a realm.
Try to authenticate for the realm by trying to access the admin console and made following errors:
1. http://0.0.0.0:8080/realms/test/protocol/openid-connect/auth...<other parameters with some errors> resulting in BAD REQUEST -> notice that error page is shown without overrides applied for the template
2. http://0.0.0.0:8080/realms/test/<non-existing-path> -> again, no overrides are applied
Note that the realm must be present in the path in order for overrides to be taken into account.
Anything else?
No response
- links to