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

Feature Request: Dashboard Authentication #1603

Open
vincentcox opened this issue Jan 21, 2025 · 3 comments
Open

Feature Request: Dashboard Authentication #1603

vincentcox opened this issue Jan 21, 2025 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@vincentcox
Copy link

vincentcox commented Jan 21, 2025

Please allow users to enable authentication on the dashboard (port 8080). This way, hosting on home network is more secure. Hosting on a public server is currently insanity without dashboard authentication and without tunneling services like Cloudflare where you can glue authentication on top of it.

@suchintan
Copy link
Contributor

What kind of authentication would work well here? Username + password?

There is some authentication by default. If you expose the server port (

- 8000:8000
) to the web, you can only trigger tasks by using the API key

@suchintan suchintan added the help wanted Extra attention is needed label Jan 30, 2025
@vincentcox
Copy link
Author

Username + Password is indeed a good idea step on the dashboard. This can be extended to 2FA, but username+password is a good start.

Yeah you're right, if the dashboard is a concern, it can be indeed shielded by commenting the ports out in the docker compose file.

@dkindlund
Copy link

https://github.com/danny-avila/LibreChat has some excellent user authentication options -- I'd recommend checking that out for inspiration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants