Modify error pages templates for Keycloak theme
Asked Answered
W

2

7

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

Walworth answered 21/5, 2020 at 12:16 Comment(3)
Hey, have you solved it?Whittle
unfortunately, no :cWalworth
ahah yeah me neither i think, don't remember xdWhittle
U
1

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. ..."

Urbanite answered 7/4, 2021 at 16:28 Comment(1)
Yes, thats what I supposed it would do, but it doesnt workIntuitivism
F
-1

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.

Famagusta answered 24/5, 2020 at 9:10 Comment(2)
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.