Idea Summary
Currently, APEX Credentials do not handle fetching an OAuth Client Credentials Token while embedding the Client ID and Client Secret in the request body. I would like to have an option with APEX Web Credentials to handle passing the Client ID and Client Secret in the request body.
Use Case
Federal Express (FedEx) has an API to get tracking information for a package. The FedEx tracking API requires that you pass the Client ID and Client Secret in the request body when getting an OAuth token from https://apis.fedex.com/oauth/token.
Preferred Solution (Optional)
If you select Oauth as the Web Credential type, add a radio group with values ‘Pass Credentials Via Basic Auth’, and ‘Pass Credentials in Request Body’.