<div dir="ltr">Tried the same and got an error as well. Can you create a JIRA issue? Please include the full stack trace not just the snippet from above.</div><div class="gmail_extra"><br><div class="gmail_quote">On 8 November 2015 at 03:23, Mai Zi <span dir="ltr"><<a href="mailto:ornot2008@yahoo.com" target="_blank">ornot2008@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:garamond,new york,times,serif;font-size:14px"><div><span>Hi, </span></div><div><span> Can anybody help me on this ? </span></div><div><span> Not sure why the post format shown in forum is in a mess, so I attach the context as a text file .</span> </div><div><span><br></span></div><div><span> T.I.A.</span></div><div><div class="h5"><div><span><br></span></div><br> <div style="font-family:garamond,'new york',times,serif"> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"> <div dir="ltr" style="font-size:16px"> ----- Forwarded Message -----<br> <font size="2" face="Arial"> <b><span style="font-weight:bold">From:</span></b> Mai Zi <<a href="mailto:ornot2008@yahoo.com" target="_blank">ornot2008@yahoo.com</a>><br> <b><span style="font-weight:bold">To:</span></b> "<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>" <<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Friday, November 6, 2015 12:22 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Can not make SAML2.0 work anyway.<br> </font> </div> <div><br><div><div><div style="color:rgb(0,0,0);font-family:garamond,'new york',times,serif;background-color:rgb(255,255,255)"><div style="font-size:14px">Hi, there,</div><div style="font-size:14px"><br></div><div dir="ltr"><span style="font-size:14px"> </span><font size="3"> 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 </font></div><div dir="ltr"><font size="3"> by following the readme in the broker example. It works fine ( except failed logout somehow)</font></div><div dir="ltr"><font size="3"><br></font></div><div><font size="3"> Now I decide to give more try and here is my steps:</font></div><div><font size="3"><br></font></div><div><font size="3"><br></font></div><div dir="ltr"><font size="3">1) Create a realm named testsaml and the saml descriptor can be found here: <a rel="nofollow" href="http://localhost:8080/auth/realms/testsaml/protocol/saml/descriptor" target="_blank">http://localhost:8080/auth/realms/testsaml/protocol/saml/descriptor</a></font></div><div dir="ltr"><font size="3">2) In the saml-broker-authentication-realm, create a new ID provider named saml by importing the URL above: <a rel="nofollow" href="http://localhost:8080/auth/realms/testsaml/protocol/saml/descriptor" style="background-color:rgb(255,255,255)" target="_blank">http://localhost:8080/auth/realms/testsaml/protocol/saml/descriptor</a> </font></div><div dir="ltr"><font size="3">3) Download the SP metadata named "keycloak.xml" from the export tab page. </font></div><div dir="ltr"><font size="3">4) Go to the testsaml reaml, and create a client by importing the downloaded "keycloak.xml" </font></div><div dir="ltr"><font size="3">5) open the page : <a rel="nofollow" href="http://localhost:8080/saml-broker-authentication" target="_blank">http://localhost:8080/saml-broker-authentication</a> and can see the IDprovider named saml on the left. </font></div><div dir="ltr"><font size="3">6) login with the ID provider but finally get the errors as below:</font></div><font size="3"><div style="font-weight:bold;display:inline-block;font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif"><div><div style="font-weight:bold;display:inline-block;font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif"><br></div></div><font>Context Path:</font></div><div style="display:inline-block;font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif">/auth</div></font><div dir="ltr"><font size="3"><span style="font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif;font-weight:bold">Servlet Path:</span><br></font></div><font size="3"><div style="display:inline-block;font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif"></div><div style="font-weight:bold;display:inline-block;font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif">Path Info:</div><div style="display:inline-block;font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif">/realms/saml-broker-authentication-realm/broker/saml/endpoint</div></font><div><font size="3"><div style="font-weight:bold;display:inline-block;font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif">Query String:</div><div style="display:inline-block;font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif">null</div></font><div dir="ltr"><font size="3"><b style="font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif">Stack Trace</b><br style="font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif"><span style="font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif">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"><span style="font-family:'Lucida Grande','Lucida Sans Unicode','Trebuchet MS',Helvetica,Arial,Verdana,sans-serif">org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:75)</span></font><br></div><div style="font-size:14px">......</div><div style="font-size:14px"><br></div><div dir="ltr" style="font-size:14px"><br></div><div dir="ltr" style="font-size:14px"><br></div><div dir="ltr" style="font-size:14px"><br></div><div dir="ltr" style="font-size:14px"><br></div><div dir="ltr" style="font-size:14px">So what happened for my configuration? I missed something?</div><div dir="ltr" style="font-size:14px"><br></div><div dir="ltr" style="font-size:14px"><br></div><div dir="ltr" style="font-size:14px">T.I.A.</div><div dir="ltr" style="font-size:14px"><br></div><div dir="ltr" style="font-size:14px">Maizi</div><div dir="ltr" style="font-size:14px"><br></div><div dir="ltr" style="font-size:14px">. </div><div style="font-size:14px"><br></div></div></div></div></div><br><br></div> </div> </div> </div></div></div></div><br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>