sandialabs / sceptre-phenix

phenix is an orchestration tool and GUI for Sandia's minimega platform
https://sandialabs.github.io/sceptre-docs/
GNU General Public License v3.0
17 stars 23 forks source link

[UI] Signin/Login Page Not Displayed #122

Open eric-c-wood opened 1 year ago

eric-c-wood commented 1 year ago

If latest version of Phenix is built without using the Docker/Podman container workflows, the VUE_APP_AUTH variable in src/js/src/router.js is undefined resulting in a Javascript "too much recursion" error which results in the Signin/Login page not being displayed. As a quick workaround, an environment file (i.e. .env, .env.local, etc.) is added to the src/js directory to explicitly set the VUE_APP_AUTH environment variable. It would be nice to either set the VUE_APP_AUTH variable to some default value or allow the PHENIX_WEB_AUTH to set the VUE_APP_AUTH variable when not using the container workflows.

activeshadow commented 1 year ago

Hi @eric-c-wood, sorry I'm just now seeing this issue. I'll look into a solution for this ASAP. More to come.