|
https://[server ip address]:8443/community-app?baseApiUrl=https://[server ip address]:8443/mifosng-provider/api/v1/
... I realized that I had replaced the FIRST "server ip address" with "localhost". However. I had NOT replaced the SECOND "server ip address".
Once I replaced the 2nd with "localhost", I was able to log into the community app successfully.
It only took me a few minutes to solve this problem today. I feel a bit dense for missing this simple fix when I worked on this last. At the same time, this is a type of problem that end users may have, so perhaps it is a good experience for me to go through. ![]()
I also wanted to mention the error message I received, when I still had "server ip address" for the 2nd spot in the URL. After I entered "mifos" for the user name and "password" for the password, the following text appeared, just to the left of the user name input box: "Please try again, your credentials are not valid."
This is obviously an inaccurate error message, as the problem from the end user perspective was not the password, but the invalid baseApiUrl variable in the querystring. We will document the correct procedure for changing of the URL, as clearly as possible, in the installation instructions. But, if it is an appropriate use of developer resources, it would be preferable to capture the occurrence of an invalid baseApiUrl, and then give the end user a corresponding message indicating that fact. This would have saved me some time and hassle personally, so it may also help Mifos X users in the future.
|