I recently have been using the Consumed REST Service (CRS) and I really love the ease of use of the new document. I would like the CRS to have a token authentication feature as well.
The basic authentication for API takes in a username and password, but realistically, most API's nowadays are using some form of OAuth token authentication system. So I would like to provide the client ID and client Secret to the CRS (using constants) and then the CRS can generate the auth token using the well known URL.
I would love to see this feature for the CRS, thank you!
There are some modules you can study or maybe even reuse. Have a look at these or maybe even look for more in the marketplace search where you can put the 'OAuth' keyword or look for 'Rest services authentication'
Community OAuth 2 Authorization for APIs - example