<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">There might be possibility to address
this with Servlet filter, which will redirect you to the page
where you can ask for the email. Only thing is, that servlet
filters are triggered later than the authentication code on
adapter side, so the filter itself would likely need to be mapped
to unsecured URI. <br>
<br>
Other possibility is that we will improve the
KeycloakConfigResolver, so it has access to the response (not just
request like it's now) and have possibility to redirect response.
But in that case, we need to do some refactoring on the adapter
side, so all the code to resolve KeycloakDeployment will need to
check if response is redirected and finish the request processing
in that case. Not sure if it's the way to go TBH... But you can
create JIRA and we can try to take a look (or you can try to
propose PR)<br>
<br>
Marek<br>
<br>
<br>
On 24.6.2015 20:34, Bellan Saravanan wrote:<br>
</div>
<blockquote cite="mid:COL126-W9C80736AEA1195E59D9A3B5AF0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">We're using KeycloakConfigResolver to resolve the
realm based on the request URI. But if we are unable to resolve
to a specific realm we want forward the user to a page where she
can enter the email address from which we can figure out the
user's realm.
<div><br>
</div>
<div>Since KeycloakConfigResolver cannot be used to redirect the
request, any suggestions are how to forward to the page to
manual resolution? We are using the Keycloak wildfly adapter.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>