openMF / mifos-mobile

Repository for the Mifos Mobile Banking App for clients
https://openmf.github.io/mobileapps.github.io/
Mozilla Public License 2.0
281 stars 691 forks source link

Login (Ivalid JSON Body) #1484

Closed zahoor-saleem closed 3 years ago

zahoor-saleem commented 4 years ago

Summary:

Unable to login from application and same user login in web successfully.

Steps to reproduce:

Create User from web and try to login from application

Expected behaviour:

Authorized user should login successfully and navigate to the dashboard screen

Observed behaviour:

Empty Toast message is displaying on screen. Invalid JSON in BODY message received in response and same user successfully login on web.

Request: https://mobile.mifos.io/fineract-provider/api/v1/self/authentication?username=mifos_user&password=password

Response Body: {"timestamp":1590748961499,"status":500,"error":"Internal Server Error","message":"Invalid JSON in BODY (no longer URL param; see FINERACT-726) of POST to /authentication: ","path":"/fineract-provider/api/v1/self/authentication"}

Device and Android version:

Emulator : Goolge Pixel 2, Android OS: 8.1.0

francisguchie commented 4 years ago

I get the same challenge at the moment yet i thought this was updated

miPlodder commented 3 years ago

@ashwinkey04 Correct me if I'm wrong, this issues is solved as a part of this https://github.com/openMF/mifos-mobile/pull/1516.

Confirm this, so that I can close this issue?

ashwinkey04 commented 3 years ago

@ashwinkey04 Correct me if I'm wrong, this issues is solved as a part of this #1516.

Confirm this, so that I can close this issue?

Yes @miPlodder. I have solved it in #1516