<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question How to make an authenticated REST microservice calls using NiFi Processors in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-make-an-authenticated-REST-microservice-calls-using/m-p/108738#M46549</link>
    <description>&lt;P&gt;Can NiFi handle authenticated calls to REST microservices?  For example before calling a REST service, the client needs to call an authentication service to obtain a token or session id.  The session token is then passed into a REST call to post the data.  &lt;/P&gt;&lt;P&gt;Is there any mechanism for maintaining the token and renewing it periodically?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2016 23:11:08 GMT</pubDate>
    <dc:creator>Carolyn</dc:creator>
    <dc:date>2016-11-17T23:11:08Z</dc:date>
    <item>
      <title>How to make an authenticated REST microservice calls using NiFi Processors</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-make-an-authenticated-REST-microservice-calls-using/m-p/108738#M46549</link>
      <description>&lt;P&gt;Can NiFi handle authenticated calls to REST microservices?  For example before calling a REST service, the client needs to call an authentication service to obtain a token or session id.  The session token is then passed into a REST call to post the data.  &lt;/P&gt;&lt;P&gt;Is there any mechanism for maintaining the token and renewing it periodically?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 23:11:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-make-an-authenticated-REST-microservice-calls-using/m-p/108738#M46549</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-11-17T23:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an authenticated REST microservice calls using NiFi Processors</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-make-an-authenticated-REST-microservice-calls-using/m-p/108739#M46550</link>
      <description>&lt;P&gt;
	If the token can be retrieved from an external resource via static credentials, you can use a separate &lt;CODE&gt;InvokeHTTP&lt;/CODE&gt; processor to perform the authentication and load the token into flowfile content, which is then fed to the follow-on &lt;CODE&gt;InvokeHTTP&lt;/CODE&gt; processor to perform the actual request. 
&lt;/P&gt;
&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt; has a &lt;A target="_blank" href="https://pierrevillard.com/2016/04/12/oauth-1-0a-with-apache-nifi-twitter-api-example/"&gt;good example of using OAuth 1.0&lt;/A&gt; to generate credential material and then use that in a follow-on request. 
&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2016 04:04:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-make-an-authenticated-REST-microservice-calls-using/m-p/108739#M46550</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-11-18T04:04:43Z</dc:date>
    </item>
  </channel>
</rss>

