You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Vishwas Babu A J (JIRA)" <ji...@apache.org> on 2019/03/06 02:52:02 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 ]
Vishwas Babu A J updated FINERACT-726:
--------------------------------------
Affects Version/s: 1.2.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
>
> 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
(v7.6.3#76005)