<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">&nbsp;<font face="Times" style="font-size: 14px;" class=""> &nbsp; I am trying to find out if there is a way to get response from token endpoint &nbsp;<span style="color: rgb(51, 51, 51); letter-spacing: 0.2px; line-height: 27.2px; white-space: pre-wrap; widows: 1; background-color: rgb(247, 247, 247);" class="">/realms/{realm-name}/protocol/openid-connect/token </span></font><font face="Times" style="font-size: 14px;" class="">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 class=""><font face="Times" style="font-size: 14px;" class=""><br class=""></font></div><div class=""><font face="Times" style="font-size: 14px;" class="">Thanks!!</font></div><div class=""><br class=""></div></body></html>