

Hello Everyone,I am working on testing and documenting 2 factor authentication usecases and need some help on configurationsI was able to successfully build the war file with 2FA enabled and I am getting a login screen to select a way to receive the authentication token.However, the Sending Email is failing with the default email settings in the system."a response, re-throwing to the HTTP containerorg.apache.fineract.infrastructure.core.service.PlatformEmailSendException: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:25at org.apache.fineract.infrastructure.core.service.GmailBackedPlatformEmailService.sendDefinedEmail(GmailBackedPlatformEmailService.java:81)"Need some insight on how to configure Email in external services.how and from where we can get the configuration details which will work
Hi BharathI looked at this in September / October, and back then my findings were as below:-----If you look at securityContext, you can see that TenantAwareTenantIdentifierFilter is only applied in the “oauth” profile. It doesn’t get used in the basicauth scenario.I think there are actually two different issues here:1. TenantAwareTenantIdentifierFilter rejects the request to /actuator/health because it has no tenant identifier in it. But even if we work around this by adding a check for the specific path /fineract-provider/actuator/health and bypassing the check, we hit the next issue2. In oauth profile, Spring does not register DispatcherServlet as it thinks it has already been registered. So even if the filter is bypassed, you end up with 404 because there is no DispatcherServlet to route the call to the Spring Actuator.I think the 2nd problem is because one of the filters used for oauth gets registered as a servlet filter - this seems to be default behaviour of Spring. See here for example:"One last thing: In case you are using a custom authentication filter (e.g. for token based authentication) you might have to take care that you don't register your filter as a Servlet Filter as well. You can influence that by configuring a method returning a FilterRegistrationBean and accepting an instance of your Filter. just create a new FilterRegistrationBean for your filter and set enabled to false.” from http://blog.florian-hopf.de/2017/08/spring-security.htmlBut oauth / Spring Security is not my area of expertise, so would be great if someone with more knowledge could comment (and ideally, provide a fix)…RegardsPetri
<image.png>However, the Sending Email is failing with the default email settings in the system."a response, re-throwing to the HTTP containerorg.apache.fineract.infrastructure.core.service.PlatformEmailSendException: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:25at org.apache.fineract.infrastructure.core.service.GmailBackedPlatformEmailService.sendDefinedEmail(GmailBackedPlatformEmailService.java:81)"
<image.png>Need some insight on how to configure Email in external services.how and from where we can get the configuration details which will work
Type Status Report
Message /fineract-provider/api-docs/apiLive.htm
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Mifos-developer mailing list
mifos-d...@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer
Dear All,please I need an assist on the following for MIFOSUnable to delete fineract-provider folder the error is Destination Path Too Long.
The second error message is after cloning https://github.com/openMF/incubator-fineract.git and build successfully and deployed on the apache tomcat 7.0.103. I am unable to open
Hi Emmanuel,On Mon, Dec 14, 2020 at 8:28 PM Emmanuel Njoku <ein...@gmail.com> wrote:Dear All,please I need an assist on the following for MIFOSUnable to delete fineract-provider folder the error is Destination Path Too Long.I dont understand where you are deploying or what you are trying to do.The second error message is after cloning https://github.com/openMF/incubator-fineract.git and build successfully and deployed on the apache tomcat 7.0.103. I am unable to openhttps://github.com/openMF/incubator-fineract is no longer active and is in archive mode. Please use https://github.com/apache/fineract as the basis of your backend. Maybe from there you can integrate Pentaho on your end. Its also a good idea to branch from the 1.4.0 tag on github. There is an already build and released Fineract 1.4.0 on the website: http://fineract.apache.org/If you are waiting for the Latest Mifos Release with Pentaho built on top of the latest Fineract release then you will have to ask the folks at Mifos for a timeline or if they plan on making a release.