You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Ed Cable (Jira)" <ji...@apache.org> on 2019/11/13 01:52:00 UTC

[jira] [Updated] (FINERACT-726) Changes to /authentication API's to pass data as part of request body

     [ https://issues.apache.org/jira/browse/FINERACT-726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ed Cable updated FINERACT-726:
------------------------------
    Fix Version/s:     (was: 1.4.0)
                   1.5.0

> Changes to /authentication API's to pass data as part of request body
> ---------------------------------------------------------------------
>
>                 Key: FINERACT-726
>                 URL: https://issues.apache.org/jira/browse/FINERACT-726
>             Project: Apache Fineract
>          Issue Type: Improvement
>    Affects Versions: 1.2.0
>            Reporter: Vishwas Babu A J
>            Priority: Major
>              Labels: 2019-mifos-gsoc, gsoc, p1, volunteer
>             Fix For: 1.5.0
>
>
> Fineract supports authentication either using Basic auth or Oauth. The initial authentication is done using the endpoints described at [https://demo.openmf.org/api-docs/apiLive.htm#authentication_basicauth] and [https://demo.openmf.org/api-docs/apiLive.htm#authentication_oauth] 
> Both rely on passing the username and password as URL query parameters.
> Ex, the endpoint for /authentication is 
> POST  : [https://localhost:8443/fineract-provider/api/v1/authentication?username=mifos&password=password&tenantIdentifier=default]
>  
> We would want to change the same to
> POST [https://localhost:8443/fineract-provider/api/v1/authentication?tenantIdentifier=default]
> and pass the username and password as apart of the post body in json format.
> Ex:
> {code:java}
> {
> "username":"mifos",
> "password":"password"
> }{code}
>  
> After making this change, the APIdocs and integration test cases would have to be updated accordingly 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)