Hi ,
We have Webservice connector with Authentication as OAuth 2.0 grant type as password.
Where we need to pass an encoded key in authorization header as shown in image, when we hardcode the value , test connection is working fine, if i add that key in source attributes and added it in encrypted list it is not working and test connection is failing.
Hi Liam,
I did try both Basic $application.Encoded_Credentials$ and
by adding _CA while creating attribute and tried $application.Encoded_Credentials_CA$ also.
But no luck
Thanks,
Divya
@Divya_Kusumula03 , the process usually is that you first make the API call from postman, pull out the curl command which contains the header for authorization which usually looks like this:
From above, use the <your encrypted token value> to patch it on the source. Ensure that you’re patching Encoded_Credentials_CA under /connectorAttributes/ in your source. Once this is done, go ahead to patch the variable name Encoded_Credentials_CA under /connectorAttributes/encrypted
Let me know if it works?
Also, can you maybe show us how the values inside the /connectorAttributes/encrypted key in your source JSON look like?