I am trying to use the HTTP action to connect to the Xero api using Client Certficate for their OAuth 1.0 authentication method.
Xero have private and public app options. I am using the Private app option.
I have used OpenSSL to produce the .cer and .pfx files and converted the .pfx file to base 64.
The Private app is registerd with Xero and I have a consumer key and token, even though the token is not needed for private app connections.
What I cant find anywhere is guidance on how to populate the fields in the HTTP action in Flow.
I.e. the headers, query and body.
At the moment I get an error to do with the password. "Could not load the certificate private key. Please check the authentication certificate password is correct and try again."
However I think the problem is bigger than that.
Any guidance would be greatly appreciated.
Solved! Go to Solution.
It seems that you are trying to use the HTTP action to make requests with Microsoft Flow, please check the following blog for a reference:
By the way, here is a blog on HTTP trigger for your reference:
In addition, there is a request on new connector Xero, please feel free vote the idea at here:
@MartinHutchcpa I have also come across the same issue of not being able to authenticate to the Xero API via MS Flow.
None of the three authentication options within MS Flow look compatible with Xero.
This is an example of the private app details generated within Xero:
I can't seem to find a definitive answer on whether oauth 2.0 is backwards compatible or not?
It turns out the it is not possible.
Great thanks Martin,
Did you happen to stumble across instructions on setting up logicapp to generate the authorisation header by chance? Is this the process you are referring to?
I had some guys write the code in c#, deploy it to our Azure logic app space. The code generated the header.
Then I exported to flow to create the custom connector.
The logic app had parameters: -
-consumer key and secret
-pfk password. (I had previously created an ssl cert using OpenSSL)
Happy to provide details of guys I paid to write above code. It only took about an hour.
Speakers, submit your sessions now! Call for speakers ends Feb. 10!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!