I am using OWIN middleware to issue access token for my ASP.NET WebApi project.
The token issued is always in Json format despite removing the Json formatter from the formatter collection.
I tried setting the XML formatter to be at the top of the collection list.
I also tried setting both content-type and accept headers to be application/xml
What am I missing to enable the token response to be in XML format? Any suggestions would be much appreciated.
Thanks