Hi,
I am looking to use invokehttp with StandardOAuth2AccessTokenProvider controller to automatically get Access Token and make the API call with the token. The requirement to get token has an extra field compared to standard OAUTH token :
Below is the curl command. It includes extra key called auth_chain.
--header 'content-type: application/x-www-form-urlencoded' \
--data-urlencode 'username=test' \
--data-urlencode 'password=test' \
--data-urlencode 'client_id=F1234rdcfhkv' \
--data-urlencode 'client_secret=test-secret' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'auth_chain=OAuthLdapService'
But this is how the StandardOAuth2AccessTokenProvider looks: