<html><head></head><body><div style="color:#000; background-color:#fff; font-family:garamond, new york, times, serif;font-size:14px"><div id="yui_3_16_0_1_1446773839297_4175">Hi, there,</div><div id="yui_3_16_0_1_1446773839297_4175"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"> I am trying version is 1.6.0 keycloak 's brokering. I have imported two realms :saml-broker-realm.json and saml-broker-authentication-realm.json </div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"> by following the readme in the broker example. It works fine ( except failed logout somehow)</div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"><br></div><div id="yui_3_16_0_1_1446773839297_4175"> Now I decide to give more try and here is my steps:</div><div id="yui_3_16_0_1_1446773839297_4175"><br></div><div id="yui_3_16_0_1_1446773839297_4175"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr">1) Create a realm named testsaml and the saml descriptor can be found here: <a href="http://localhost:8080/auth/realms/testsaml/protocol/saml/descriptor" id="yui_3_16_0_1_1446773839297_10998">http://localhost:8080/auth/realms/testsaml/protocol/saml/descriptor</a></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr">2) In the saml-broker-authentication-realm, create a new ID provider named saml by importing the URL above: <a href="http://localhost:8080/auth/realms/testsaml/protocol/saml/descriptor" id="yui_3_16_0_1_1446773839297_10998" style="background-color: rgb(255, 255, 255);" class="">http://localhost:8080/auth/realms/testsaml/protocol/saml/descriptor</a> </div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr">3) Download the SP metadata named "keycloak.xml" from the export tab page. </div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr">4) Go to the testsaml reaml, and create a client by importing the downloaded "keycloak.xml" </div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr">5) open the page : <a href="http://localhost:8080/saml-broker-authentication" id="yui_3_16_0_1_1446773839297_26288">http://localhost:8080/saml-broker-authentication</a> and can see the IDprovider named saml on the left. </div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr">6) login with the ID provider but finally get the errors as below:</div><div class="" id="yui_3_16_0_1_1446773839297_28731" style="font-weight: bold; display: inline-block; font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;"><div><div class="" style="font-weight: bold; display: inline-block; font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;"><br></div></div>Context Path:</div><div class="" id="yui_3_16_0_1_1446773839297_28733" style="display: inline-block; font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;">/auth</div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr" class=""><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium; font-weight: bold;">Servlet Path:</span><br></div><div class="" style="display: inline-block; font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;" id="yui_3_16_0_1_1446773839297_28740"></div><div class="" id="yui_3_16_0_1_1446773839297_28746" style="font-weight: bold; display: inline-block; font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;">Path Info:</div><div class="" id="yui_3_16_0_1_1446773839297_28748" style="display: inline-block; font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;">/realms/saml-broker-authentication-realm/broker/saml/endpoint</div><div id="yui_3_16_0_1_1446773839297_29391"><div class="" id="yui_3_16_0_1_1446773839297_28754" style="font-weight: bold; display: inline-block; font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;">Query String:</div><div class="" id="yui_3_16_0_1_1446773839297_28756" style="display: inline-block; font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;">null</div><div dir="ltr" id="yui_3_16_0_1_1446773839297_28770"><b style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;" id="yui_3_16_0_1_1446773839297_28760" class="">Stack Trace</b><br style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;" id="yui_3_16_0_1_1446773839297_28762" class=""><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;" id="yui_3_16_0_1_1446773839297_28764" class="">java.lang.RuntimeException: request path: /auth/realms/saml-broker-authentication-realm/broker/saml/endpoint</span><br style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;" id="yui_3_16_0_1_1446773839297_28766" class=""><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Trebuchet MS', Helvetica, Arial, Verdana, sans-serif; font-size: medium;" id="yui_3_16_0_1_1446773839297_28768" class="">org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:75)</span><br></div><div id="yui_3_16_0_1_1446773839297_4175">......</div><div id="yui_3_16_0_1_1446773839297_4175"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr">So what happened for my configuration? I missed something?</div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr">T.I.A.</div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr">Maizi</div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr"><br></div><div id="yui_3_16_0_1_1446773839297_4175" dir="ltr">. </div><div id="yui_3_16_0_1_1446773839297_4175"><br></div></div></div></body></html>