[keycloak-user] OAuth Access Token Response in XML

Stian Thorgersen sthorger at redhat.com
Mon Jul 4 03:04:54 EDT 2016


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160704/cb78301a/attachment.html 


More information about the keycloak-user mailing list