<div dir="ltr">Is there a best practice when it comes to adding hooks to Keycloak for integrating with software that let&#39;s you replace their security with Keycloak security?  For example, Discourse provides this guide: <a href="https://meta.discourse.org/t/official-single-sign-on-for-discourse/13045">https://meta.discourse.org/t/official-single-sign-on-for-discourse/13045</a>.  It assumes the user is using their own home grown security where they can easily intercept redirects.  Is there a mechanism in Keycloak that allows end users to more easily implement the solution they describe in that guide?  I realize you don&#39;t have time to give me a solution.  Can you just nudge me in the right direction?  </div>