You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On multi-tenant production setup, where each tenant runs on a sub-domain of the same parent, e.g abc.mifos.io xyz.mifos.io, we want each tenant to be insulated from the others, so no option to switch backend server. We also want to connect to Fineract on the same sub-domain by default https://xyz.mifos.io connects to https://xyz.mifos.io/fineract-provider/api/v1.
Setup the web-app on a Server/VM with Nginx as a multi-tenant on subdomain setup (using prefix tenantId.domain.com) with Fineract also on the same domain (non-Docker). Since this is for production, would like each tenant to not need to select the backend but automatically to the same (sub)domain Fineract platform.
Expected Behaviour
Web-app login should connect to Fineract backend server on the same domain and authenticate successfully.
Actual Behaviour
Web-app attempts to connect to https://demo.fineract.dev which has been down since a few years and fails to login
Settings
Mifos X version: 23.12.31
Browser used: Chrome
Screenshots, if any
The text was updated successfully, but these errors were encountered:
terencemo
pushed a commit
to SanjoseSolutions/web-app
that referenced
this issue
May 21, 2024
This is the desired behaviour for Production:
Setting the backend server to the same domain by default is accomplished by this PR: #2095
However, we still have the dropdown visible and I believe it shouldn't be on Production (the above solution was obtained by disabling the backend selector).
Description
On multi-tenant production setup, where each tenant runs on a sub-domain of the same parent, e.g abc.mifos.io xyz.mifos.io, we want each tenant to be insulated from the others, so no option to switch backend server. We also want to connect to Fineract on the same sub-domain by default https://xyz.mifos.io connects to https://xyz.mifos.io/fineract-provider/api/v1.
In such a VM setup with Nginx (non-Docker), login tries to use https://demo.fineract.dev/fineract-provider/api/v1/authentication by default and fails, because this URL is down. It should connect to the current production domain by default.
Steps to Reproduce
Setup the web-app on a Server/VM with Nginx as a multi-tenant on subdomain setup (using prefix tenantId.domain.com) with Fineract also on the same domain (non-Docker). Since this is for production, would like each tenant to not need to select the backend but automatically to the same (sub)domain Fineract platform.
Expected Behaviour
Web-app login should connect to Fineract backend server on the same domain and authenticate successfully.
Actual Behaviour
Web-app attempts to connect to https://demo.fineract.dev which has been down since a few years and fails to login
Settings
Screenshots, if any
The text was updated successfully, but these errors were encountered: