Jeremy Dyer created NIFI-4245:
---------------------------------
Summary: OAuth 2 Authorization support - Resource Owner Password
Credentials Grant
Key: NIFI-4245
URL: https://issues.apache.org/jira/browse/NIFI-4245
Project: Apache NiFi
Issue Type: Improvement
Reporter: Jeremy Dyer
If your interacting with REST endpoints on the web chances are you are going to
run into an OAuth2 secured webservice. The IETF (Internet Engineering Task
Force) defines 4 methods in which OAuth2 authorization can occur. This JIRA is
focused solely on the Authorization Code Grant method defined at
https://tools.ietf.org/html/rfc6749#section-4.3
This implementation should provide a ControllerService in which the enduser can
configure the credentials for obtaining the authorization grant (access token)
from the resource owner. In turn a new property will be added to the InvokeHTTP
processor (if it doesn't already exist from one of the other JIRA efforts
similar to this one) where the processor can reference this controller service
to obtain the access token and insert the appropriate HTTP header
(Authorization: Bearer {access_token}) so that the InvokeHTTP processor can
interact with the OAuth protected resources without having to worry about
setting up the credentials for each InvokeHTTP processor saving time and
complexity.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)