Adding list back - please use reply all
I'm not following. The response payload is the token, so not sure what it
is that you want in XML.
On 4 July 2016 at 15:41, <asarathi(a)vizuri.com> wrote:
Sorry if I wasn't clear earlier. I don't want the token
itself to be in
xml. I just want the response payload from the token endpoint to be xml or
Json based on the accept header.
On Jul 4, 2016, at 3:04 AM, Stian Thorgersen <sthorger(a)redhat.com> wrote:
We only support JWT with OpenID Connect. Can you elaborate on why you want
an XML token?
You could add a custom REST endpoint or a custom protocol to do this, but
not sure I'd recommend doing it as there's a fair bit of logic that goes
into the token endpoint.
On 1 July 2016 at 18:39, Aswini Sarathi <asarathi(a)vizuri.com> wrote:
> Hi,
>
> I am trying to find out if there is a way to get response from token
> endpoint /realms/{realm-name}/protocol/openid-connect/token 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?
>
> Thanks!!
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>