From: Ed Cable [mailto:edca...@mifos.org]
Sent: 19 October 2016 07:18
To: dev (firstname.lastname@example.org)
Cc: Adi Raju; Denila Philip
Subject: Questions regarding Log in via Self-Service APIs
I will let the devs and PM working on the community Android self-service app
chime in with more specifics but we have some questions.
How do you pass the client ID as part of the login process?
When Puneet was working on the login he wasn't getting the Client ID as part of
the response from the login. Is this possible as it's needed to only then
display the accounts of that client.
And could you clarify that this is the client ID that's created when their
client account is created in mifos (and not an ID that's generated when their
self-service user account is created).
[Adi] As part of authentication response, we are not sending list of client ids
associated with the app user. In situations like agent banking, this info could
become too big. Best way to know clients associated with self service user is
using clients api itself. If the response is a single client, app can directly
proceed to accounts page. If it is more than one client, list the clients.
Yes, Client Id is different from app user/self service user id.
Self-Creation of a Self Service User ID
Is it possible for a client to create their own self-service user ID or is that
only supported by a back office staff? The use case is as such: I download the
app from the Google Play Store and have a link to "Sign Up". I click sign up
and then should be prompte for my account number or phone number and then based
on that it selects which client account i have in mifos and I can then create
my user ID and credentials.
[Adi] App user creation is a secure operation which needs permissions to use
the APIs. In the scenario that you have mentioned, we need an intermediate
implementation that takes the open requests from clients an in the background
verify and create self service users.
Director of Community Programs, Mifos Initiative
edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
Collectively Creating a World of 3 Billion Maries | http://mifos.org