<div dir="ltr">Hi,
<div><br></div><div>I&#39;m playing around with client-side error pages regarding Keycloak authentication.</div><div><br></div><div>I have an Java EE web application utilizing error-page definitions in web.xml. If authentication fails for a reason or another, shouldn&#39;t the adapter-core enable the use of these error-pages? </div><div><br></div><div>At the moment all or most of the AuthChallenge implementations in adapter-core call the setStatus method of the HttpFacade. This results in blank responses with only the status being set. If sendError was used instead then the default error-page handling would kick in. </div><div><br></div><div>Is there a reason I am missing why using setStatus instead of sendError in, for example, OAuthRequestAuthenticator?</div><div><br></div><div>Best regards,</div><div>Thomas</div></div>