title: How can I use OAuth 2.0 Authentication in an Azure Logic App?
body: <p>I'm trying to create a simple logic app with an FTP trigger which then pipes any uploaded file content to a Web API that I have hosted in Azure and secured using the OAuth 2.0 Client Credentials grant flow.</p>
  
  <p>How does one go about configuring the OAuth 2.0 authentication within the logic app?</p>
  
  <p>What I've done so far is added a FTP trigger which feeds into a HTTP Post action to a Web API endpoint expecting the file content. I see that there is an input for the authentication header, however I would still need to get the token from the authorization endpoint before I am able to specify the header value. </p>
  
  <p>Should I be manually adding extra steps to manually retrieve and supply the token value, or is there a simpler method of referencing a secured endpoint?</p>