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

Persist API KEY in Settings after stop / start of Docker container #181

Open
dacrudg opened this issue Dec 6, 2024 · 1 comment
Open
Labels
not reproducible This doesn't seem right

Comments

@dacrudg
Copy link

dacrudg commented Dec 6, 2024

Is there anyway to persist the APIKEY once I've added it to settings?
Every time I stop and start the headscaleUI container I have to re-add it again.

It would even be great if we could add it in as an environment variable to the container.

Thanks

@routerino routerino added the not reproducible This doesn't seem right label Dec 23, 2024
@routerino
Copy link
Contributor

routerino commented Dec 23, 2024

There should not be any reason why stopping and starting the container would affect the api key persisting. It is saved to the browser, not the server.

If you are instead saying that moving between multiple browsers do not persist the key, that is a known limitation of using a client-side UI instead of a server-side one. It cannot be fixed without a far more complex and potentially less secure rearchitecture of the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not reproducible This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants