Is there any possibility to change the way how Keycloak displays pages for bad responses(404, 500)? Maybe redirection or changing template for these pages? Simple view of 404
Modify error pages templates for Keycloak theme
Asked Answered
Hey, have you solved it? –
Whittle
unfortunately, no :c –
Walworth
ahah yeah me neither i think, don't remember xd –
Whittle
See this link, https://lists.jboss.org/pipermail/keycloak-user/2018-June/014439.html
"... As long as the URL of the error page includes the realm it will use the login theme for that realm. Otherwise it will fallback to the login theme of the master realm. ..."
Yes, thats what I supposed it would do, but it doesnt work –
Intuitivism
Sure, you can use custom themes and templates for all kind of interfaces (Web UI, e-mails, error pages etc). You can also extend existing themes and partially override it. Please refer to the themes development guide here.
I appreciate your reply :) But there is nothing about pages for 404 response. I already knew about the template for errors, but modifying that errors' template means only change in template for errors in form. I need to customize the interface for the whole page when it's nothing to show (like I demonstrated on the screenshot above) –
Walworth
Downvoted the answer because you are providing wrong information, keycloak references itself never mention error pages. –
Westley
© 2022 - 2024 — McMap. All rights reserved.