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
Hosting mSupply server and mSupply Grafana server on different computer is not compatible.
For testing purpose I thought it would be great to have a Grafana server on on windows PC with our MAC pushing data and serving as User Authenticator as designed.
Now @craigdrown mentioned that mSupply dashboard can be used anywhere away from the mSupply server... Thought it would be great to an independent mSupply dashboard that is always available for developers to test.
But the problem : The integration of mSupply server and mSupply dashboard that is hosted on two different machine is a bit broken. I can't exactly explain the problem. It needs to be tried.
Expected Behavior
Should work when hosted on two different machine.
Current Behavior
Interaction between user authentication and grafana is broken. @raviSussol has found out that the mSupply app directs to the wrong server after login or log out.
We test the two servers without SSL.
Possible Solution
Good to fix it. It is not urgent. One day we may host the two services on different machine.
Steps to Reproduce (bugs only, delete if not applicable)
Install mSupply dashbaord in a machine.
Install mSupply Server in another machine.
edit the config file for Grafana to communicate with the mSupply server un-securely... do not use SSL
Grafana can also server without SSL on port 3000
Error : After login and loging out in Grafana , you are directed to the wrong page as mSupply points to the wrong machine ... it seems.
The text was updated successfully, but these errors were encountered:
@mark-prins : No hurry on this. So far bot the servers are hosted on the one machine... but who knows sometime we may want the two hosted on different machine.
@ujwalSussol@raviSussol - I think you could look at Oauth on mSupply- it should maybe be passed a redirect URL (maybe the code doesn't include the whole URL, and mSupply prepends it's own domain to what has been passed?
Line 51 of routesApiV4Oauth() looks right to me- maybe Grafana isn't sending the redirect parameter correctly in the first place?
Hosting mSupply server and mSupply Grafana server on different computer is not compatible.
For testing purpose I thought it would be great to have a Grafana server on on windows PC with our MAC pushing data and serving as
User Authenticator
as designed.Now @craigdrown mentioned that mSupply dashboard can be used anywhere away from the mSupply server... Thought it would be great to an independent mSupply dashboard that is always available for developers to test.
But the problem : The integration of mSupply server and mSupply dashboard that is hosted on two different machine is a bit broken. I can't exactly explain the problem. It needs to be tried.
Expected Behavior
Should work when hosted on two different machine.
Current Behavior
Interaction between user authentication and grafana is broken. @raviSussol has found out that the mSupply app directs to the wrong server after login or log out.
We test the two servers without SSL.
Possible Solution
Good to fix it. It is not urgent. One day we may host the two services on different machine.
Steps to Reproduce (bugs only, delete if not applicable)
The text was updated successfully, but these errors were encountered: