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

Improve pattern for updating token #44

Open
helrond opened this issue Oct 18, 2021 · 0 comments
Open

Improve pattern for updating token #44

helrond opened this issue Oct 18, 2021 · 0 comments

Comments

@helrond
Copy link
Member

helrond commented Oct 18, 2021

Is your feature request related to a problem? Please describe.

Updating the token (which needs to happen fairly frequently because there are often stretches when this app isn't used a lot) is a bit of a PITA and also requires SSH access to the server.

Describe the solution you'd like

Make this process easier! A couple of alternatives:

  • Use login credentials in the config instead of a token, and then log the app in each time the page loads
  • Provide a mechanism for someone to provide login credentials via the UI

Additional context

The downside to storing credentials in a config file for javascript is that those credentials are then exposed. In addition to the above options, it may be worth considering migrating to a different framework that supports better credential management.

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

1 participant