Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable auth backend address #50

Open
achilleas-k opened this issue Aug 26, 2019 · 2 comments
Open

Configurable auth backend address #50

achilleas-k opened this issue Aug 26, 2019 · 2 comments

Comments

@achilleas-k
Copy link
Member

achilleas-k commented Aug 26, 2019

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.

baseURL: 'http://localhost:8000/auth'

var API = "http://127.0.0.1:8000/api"

@mrinalwahal
Copy link
Collaborator

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

@achilleas-k
Copy link
Member Author

Probably. Or a config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants