G-Node / gin-proc

BSD 3-Clause "New" or "Revised" License
0 stars 7 forks source link

Configurable auth backend address #50

Open achilleas-k opened 5 years ago

achilleas-k commented 5 years ago

The backend address (for auth and api routes) in the frontend (see lines below) should be configurable. These should be set to an externally accessible address that the user's browser, running the frontend, can access in order to log in.

https://github.com/G-Node/gin-proc/blob/9690416f2b29c3573fe3a062d1ee85c9be418468/front-end/nuxt.config.js#L49 https://github.com/G-Node/gin-proc/blob/9690416f2b29c3573fe3a062d1ee85c9be418468/front-end/pages/index.vue#L163

mrinalwahal commented 5 years ago

So, should this value be accessible from an external environment variable?

achilleas-k commented 5 years ago

Probably. Or a config file.