The idea is:
Be able to include additional headers when calling an API that needs Oauth2 Authentication + additional x-api-key header or Ocp-Apim-Subscription-Key or any other keys added to headers.
-
Encrypted Client Id
Typical Oauth2 - Client Credentials → It would be good to also have the Client Id encrypted (the same as Client Secret)
-
Additional Header.
Instead of adding an external Header with x-api-key = {apiKey}, it would be nice to be able to add it inside the oauth2 credential in additional field.
a) current scenario
b) desired scenario
This is used in Microsoft azure endppints where the endpoint needs a Bearer Token (Result of Oauth2 process) + Ocp-Apim-Subscription-Key