[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mifos-developer
Subject:    Re: [Mifos-developer] Custom UI integration with Mifos Instance
From:       Bharath Gowda <bgowda () mifos ! org>
Date:       2021-10-27 3:33:28
Message-ID: CAEbTK+TvmYdXtc_8TVwKMKh3gwu=LEbx3p00Wi79DAvq7H6RYQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


Hi Wilfred,
Thanks for the detailed update.

The sandbox instance is still running on the 18.03 release version of both
Fineract and the front-end.
and Fineract 1.5 is compatible with the Mifos release version 21.07 or the
latest Develop branch.

Backward Compatibility sounds good technically but will be challenging on
the functional/feature side and also at branch maintenance.
For example: Fineract might have new features developed, but backward
Compatible Mifos may not have the screens to use that and vise-verse.

Mifos /Fineract follows the approach of adding fixes/features on the
develop branch always and does the tag cut-off during the release process.
Hence I feel we should always go with the latest of both code bases or the
correct release version codebases to get the full benefit of the
features/changes made.

Latest releases
Fineract: 1.5 https://github.com/apache/fineract/releases/tag/1.5.0
Community App:
https://github.com/openMF/community-app/releases/tag/MIFOSX-21.07.01.RELEASE

Having said my opinion, I will leave it open to the community around this
discussion, we could always go with what is best for the users.




Regards,
Bharath
Lead Implementation Analyst | Mifos Initiative
Skype: live:cbharath4| Mobile: +91.7019635592
http://mifos.org  <http://facebook.com/mifos>
<http://www.twitter.com/mifos>


On Mon, Oct 25, 2021 at 11:14 PM Wilfred Kigenyi <wkigenyi@gmail.com> wrote:

> Thanks Alot for your response Bharath,
>
> I later discovered that there is a difference between the authentication
> api of mifos and that of fineract 1.5 and that is where the issue was
> arising from. Mifos requires a POST request to
> 'authentication?username={username}&password={password}' whereas fineract
> requires a POST request to 'authentication' with a body
> {username,password}. I had originally written my request based on fineract
> so it was failing on the mifos instance.
>
> Should be an issue though, should there be backwards compatibility between
> fineract and mifos. My thinking was that both request formats should be
> accepted since the api version is still the same i.e. v1.
>
> Otherwise, because of the responses I have received from you and the other
> community members I feel welcome and eager to contribute to this cause. I
> will share the URL at a later time when done with some TODOs.
>
> Thanks.
> Regards.
> Wilfred
>
> On Mon, Oct 25, 2021 at 4:26 PM Bharath Gowda <bgowda@mifos.org> wrote:
>
>> Hi Wilfred,
>>
>> Great to hear about the new UI development from your End. We would be
>> happy to help you, please do not hesitate to share any questions you have
>> to our Develop and User mailing list which I have cc'd in this thread.
>>
>>
>> Could you please share the URL which you are using to connect your local
>> UI to https://wkigenyi.sandbox.mifos.io/#/ server?
>>
>> If you are running your UI through grunt serve then the following URL
>> should work
>>
>> http://localhost:9002/?baseApiUrl=https://wkigenyi.sandbox.mifos.io&tenantIdentifier=default
>>
>> Check the UI Port as per your configuration.
>>
>> Regards,
>> Bharath
>> Lead Implementation Analyst | Mifos Initiative
>> Skype: live:cbharath4| Mobile: +91.7019635592
>> http://mifos.org  <http://facebook.com/mifos>
>> <http://www.twitter.com/mifos>
>>
>>
>> On Sun, Oct 24, 2021 at 2:18 PM Wilfred Kigenyi <wkigenyi@gmail.com>
>> wrote:
>>
>>> Greetings Bharath,
>>>
>>> I am developing a customer facing app based on Fineract 1.X
>>> An instance was created for me and I want to test it.
>>> https://wkigenyi.sandbox.mifos.io/#/
>>>
>>> However when I try connecting to this instance using my custom UI I get
>>> a 401 response on attempting to login.
>>> I am logging in with mifos/password and my headers are below:[image:
>>> Headers.PNG]
>>> What do I need  to change to make my UI work with the instance?
>>>
>>> Thanks and Regards
>>> Wilfred
>>>
>>>
>>>

[Attachment #7 (text/html)]

<div dir="ltr"><div>Hi Wilfred,</div>Thanks for the detailed \
update.<div><br></div><div>The sandbox instance is still running on the 18.03 release \
version of both Fineract and the front-end.</div><div>and Fineract 1.5 is compatible \
with the Mifos release version 21.07 or the latest Develop \
branch.</div><div><br></div><div>Backward Compatibility sounds good technically but \
will be challenging on the functional/feature side and also at branch \
maintenance.</div><div>For example: Fineract might have new features developed, but \
backward Compatible Mifos may not have the screens to use that and \
vise-verse.</div><div><br></div><div>Mifos /Fineract follows the approach of adding \
fixes/features on the develop branch always and does the tag cut-off during the \
release process.</div><div>Hence I feel we should always go with the latest of both \
code bases or the correct release version codebases to get the full benefit of the \
features/changes made.</div><div><br></div><div>Latest releases</div><div>Fineract: \
1.5  <a href="https://github.com/apache/fineract/releases/tag/1.5.0">https://github.com/apache/fineract/releases/tag/1.5.0</a></div><div>Community \
App:  <a href="https://github.com/openMF/community-app/releases/tag/MIFOSX-21.07.01.RE \
LEASE">https://github.com/openMF/community-app/releases/tag/MIFOSX-21.07.01.RELEASE</a></div><div><br></div><div>Having \
said my opinion, I will leave it open  to the community around this discussion, we \
could always go with what is best for the \
users.</div><div><br></div><div><br></div><div><br></div><div><br \
clear="all"><div><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div dir="ltr"><font face="tahoma, sans-serif">Regards,</font><div><font \
face="tahoma, sans-serif">Bharath</font></div><div><span \
style="font-family:tahoma,sans-serif"><font size="1">Lead Implementation Analyst | \
Mifos Initiative</font></span></div><div><font face="tahoma, sans-serif" \
size="1"><div>Skype: live:cbharath4| Mobile: +91.7019635592</div></font></div><div \
style="color:rgb(136,136,136)"><div><font color="#339999" \
style="font-family:tahoma,sans-serif;font-size:x-small"><a href="http://mifos.org/" \
style="color:rgb(17,85,204)" target="_blank">http://mifos.org</a></font><span \
style="font-family:tahoma,sans-serif;font-size:x-small">  </span><a \
href="http://facebook.com/mifos" \
style="font-family:tahoma,sans-serif;font-size:x-small;color:rgb(17,85,204);font-style:italic" \
target="_blank"><img \
src="https://secure.plimus.com/developers/817570/Template/icon-tiny-facebook.png" \
alt=""></a><i style="font-family:tahoma,sans-serif;font-size:x-small">  </i><a \
href="http://www.twitter.com/mifos" \
style="font-family:tahoma,sans-serif;font-size:x-small;color:rgb(17,85,204);font-style:italic" \
target="_blank"><img \
src="http://organizationsandmarkets.files.wordpress.com/2010/04/icon-tiny-twitter.png" \
></a><br></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div \
> class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 25, 2021 at 11:14 \
> PM Wilfred Kigenyi &lt;<a \
> href="mailto:wkigenyi@gmail.com">wkigenyi@gmail.com</a>&gt; \
> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
> 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
> dir="ltr"><div>Thanks Alot for your response Bharath,</div><div><br></div><div>I \
> later discovered that there is a difference between the authentication api of mifos \
> and that of fineract 1.5 and that is where the issue was arising from. Mifos \
> requires a POST request to \
> &#39;authentication?username={username}&amp;password={password}&#39; whereas \
> fineract requires a POST request to &#39;authentication&#39; with a body \
> {username,password}. I had originally written my request based on fineract so it \
> was failing on the mifos instance.</div><div><br></div><div>Should be an issue \
> though, should there be backwards compatibility between fineract and mifos. My \
> thinking was that both request formats should be accepted since the api version is \
> still the same i.e. v1.</div><div><br></div><div>Otherwise, because of the \
> responses I have received from you and the other community members I feel welcome \
> and eager to contribute to this cause. I will share the URL at a later time when \
> done with some TODOs.</div><div><br></div><div>Thanks.</div><div>Regards.</div><div>Wilfred<br></div></div><br><div \
> class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 25, 2021 at 4:26 \
> PM Bharath Gowda &lt;<a href="mailto:bgowda@mifos.org" \
> target="_blank">bgowda@mifos.org</a>&gt; wrote:<br></div><blockquote \
> class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
> rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi \
> Wilfred,<div><br></div><div>Great  to hear about the new UI development from your \
> End. We would be happy to help you, please do not hesitate to share any questions \
> you have to our Develop and User mailing list which I have cc&#39;d in this \
> thread.</div><div><br></div><div><br></div><div>Could you please share the URL \
> which you are using to connect your local UI to  <a \
> href="https://wkigenyi.sandbox.mifos.io/#/" \
> target="_blank">https://wkigenyi.sandbox.mifos.io/#/</a>  \
> server?<br></div><div><div><br></div><div>If you are running your UI through grunt \
> serve then the following URL should work</div><div><a \
> href="http://localhost:9002/?baseApiUrl=https://wkigenyi.sandbox.mifos.io&amp;tenantIdentifier=default" \
> target="_blank">http://localhost:9002/?baseApiUrl=https://wkigenyi.sandbox.mifos.io&amp;tenantIdentifier=default</a></div><div><br></div><div>Check \
> the UI Port as per your configuration.</div><div><br clear="all"><div><div \
> dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div \
> dir="ltr"><font face="tahoma, sans-serif">Regards,</font><div><font face="tahoma, \
> sans-serif">Bharath</font></div><div><span \
> style="font-family:tahoma,sans-serif"><font size="1">Lead Implementation Analyst | \
> Mifos Initiative</font></span></div><div><font size="1" face="tahoma, \
> sans-serif"><div>Skype: live:cbharath4| Mobile: \
> +91.7019635592</div></font></div><div style="color:rgb(136,136,136)"><div><font \
> style="font-family:tahoma,sans-serif;font-size:x-small" color="#339999"><a \
> href="http://mifos.org/" style="color:rgb(17,85,204)" \
> target="_blank">http://mifos.org</a></font><span \
> style="font-family:tahoma,sans-serif;font-size:x-small">  </span><a \
> href="http://facebook.com/mifos" \
> style="font-family:tahoma,sans-serif;font-size:x-small;color:rgb(17,85,204);font-style:italic" \
> target="_blank"><img \
> src="https://secure.plimus.com/developers/817570/Template/icon-tiny-facebook.png" \
> alt=""></a><i style="font-family:tahoma,sans-serif;font-size:x-small">  </i><a \
> href="http://www.twitter.com/mifos" \
> style="font-family:tahoma,sans-serif;font-size:x-small;color:rgb(17,85,204);font-style:italic" \
> target="_blank"><img \
> src="http://organizationsandmarkets.files.wordpress.com/2010/04/icon-tiny-twitter.pn \
> g"></a><br></div></div></div></div></div></div></div></div></div></div><br></div></div></div><br><div \
> class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 24, 2021 at 2:18 \
> PM Wilfred Kigenyi &lt;<a href="mailto:wkigenyi@gmail.com" \
> target="_blank">wkigenyi@gmail.com</a>&gt; wrote:<br></div><blockquote \
> class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
> rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Greetings \
> Bharath,</div><div><br></div><div>I am developing a customer facing app based on \
> Fineract 1.X<br></div><div>An instance was created for me and I want to test \
> it.<br></div><div><a href="https://wkigenyi.sandbox.mifos.io/#/" \
> target="_blank">https://wkigenyi.sandbox.mifos.io/#/</a></div><div><br></div><div>However \
> when I try connecting to this instance using my custom UI I get a 401 response on \
> attempting to login.</div><div>I am logging in with mifos/password and my headers \
> are below:<img src="cid:ii_kv4zljw30" alt="Headers.PNG" width="364" \
> height="487"><br></div><div>What do I need   to change to make my UI work with the \
> instance?</div><div><br></div><div>Thanks and \
> Regards</div><div>Wilfred<br></div><div><br></div><div><br></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>

--00000000000083699605cf4d1704--


["Headers.PNG" (image/png)]



Mifos-developer mailing list
mifos-developer@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic