Hello, I attempting to use the HTTP client destination to send data to a could platform which uses OAuth2 for authentication. I’ve appended the headers that should be sent to the API to receive the token.
"Password" grant REQUEST
My question is, which options in the HTTP client sets the Authorization: basic header?
The SaaS provider requests that the parameter after Authorization: basic be encoded in Base64. I assume we would need to set authentication type to Basic and manually encode the data. However when I do so, and place it in the username field under credentials, the API returns "error":"invalid_request","error_description":"Unable to decode Authorization header. Can't find \"app-name@vendor-name\".","status_code":400. As an fyi the data that should be encoded is in the format app-name@vendorname:BU.
as an fyi, I have attached a PHP version of the token request if it would be helpful
thank you for your help in advance.