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

Authentation: Persist the login token temporarily #389

Open
SchoolGuy opened this issue Nov 16, 2024 · 0 comments
Open

Authentation: Persist the login token temporarily #389

SchoolGuy opened this issue Nov 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@SchoolGuy
Copy link
Member

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

As a developer
I want to not login after every hot reload
so that I don't have to navigate to the page under development every time.

Describe the solution you'd like

As I am not very savvy in web security I have not saved the login token anywhere. This causes the Web Interface to be unauthorized every time a page is reloaded. I am sure that there is a somewhat secure way to get this saved temporarily.

The token lifetime can be retrieved via the settings attribute auth_token_expiration. Every successful request where a token is validated successfully will reset the timeout. As such only a token that is unused for the expiration time will be removed. Tokens will also be invalidated in case the backend is restarted.

Describe alternatives you've considered

None

Additional context

None

@SchoolGuy SchoolGuy added the enhancement New feature or request label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant