<div dir="ltr">We only support JWT with OpenID Connect. Can you elaborate on why you want an XML token?<div><br></div><div>You could add a custom REST endpoint or a custom protocol to do this, but not sure I&#39;d recommend doing it as there&#39;s a fair bit of logic that goes into the token endpoint.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 July 2016 at 18:39, Aswini Sarathi <span dir="ltr">&lt;<a href="mailto:asarathi@vizuri.com" target="_blank">asarathi@vizuri.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div> <font face="Times" style="font-size:14px">   I am trying to find out if there is a way to get response from token endpoint  <span style="color:rgb(51,51,51);letter-spacing:0.2px;line-height:27.2px;white-space:pre-wrap;background-color:rgb(247,247,247)">/realms/{realm-name}/protocol/openid-connect/token </span></font><font face="Times" style="font-size:14px">in xml or json format based on the Accept header. If its not supported out of the box, what other options are available to do this? Should I look at creating a custom endpoint by implementing the SPI to do the mapping?</font></div><div><font face="Times" style="font-size:14px"><br></font></div><div><font face="Times" style="font-size:14px">Thanks!!</font></div><div><br></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>