SAP Knowledge Base Article - Public

3491941 - Is it possible to use 'application/json' in the 'Content-Type' when Posting an SF Oauth Token?


The customer wants to generate an SF Oauth Token using application/json in the "Content-Type".

Is it possible to use application/json in the 'Content-Type' when Posting an SF Oauth Token?

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


  • SAP SuccessFactors HXM Suite
    • Odata API Oauth


Content-Type in '/oauth/token' supports only 'application/x-www-form-urlencoded', this is hardcoded in the background code.

Other formats are not supported (e.g. json, XML). 

See Also

Requesting an Access Token help portal


application/x-www-form-urlencoded, json, APPLICATION_FORM_URLENCODED, oauth/token, Oauth2.0 , KBA , LOD-SF-INT-ODATA-OAU , ODATA OAUTH Authentication , Problem


SAP SuccessFactors HCM Core 2405