lmccay opened a new pull request, #876:
URL: https://github.com/apache/knox/pull/876

   (It is very **important** that you created an Apache Knox JIRA for this 
change and that the PR title/commit message includes the Apache Knox JIRA ID!)
   
   ## What changes were proposed in this pull request?
   Adding support for integrations to Knox proxied services and APIs via OAuth 
style cllient credentials flow. This allows an integration that is provided a 
CLIENT_ID and CLIENT_SECRET to authenticate to Knox and directly access proxied 
services with those or exchange those credentials for short lived JWT based 
access, id and refresh tokens.
   
   This change introduces only the acceptance of the Knox TokenID and Passcode 
tokens as CLIENT_ID and CLIENT_SECRET in a standard OAuth 2.0 client 
credentials flow request body. This body will contain the following params:
   
   1. grant_type and it will be "client_credentials"
   2. client_id which will be the KnoxToken tokenId or KnoxID
   3. client_secret which will be the passcode token for which we store the hash
   
   Authentication using this flow will result in the effective user being what 
is provided as the CLIENT_ID.
   
   ## How was this patch tested?
   
   Ran existing tests and added new unit tests
   
   Please review [Knox Contributing 
Process](https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow)
 before opening a pull request.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to