Open CGamesPlay opened 4 days ago
👀 @CGamesPlay
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
🥰 Feature Description
I'm using LobeChat self-hosted and want to migrate to the server mode. However, I don't want to use an external identity provider (Github, Google, etc) and don't want to set up my own (Casdoor). I don't really need multi-user features at all. Ideally, I'd like to hard-code a username and password using environment variables.
🧐 Proposed Solution
NextAuth.js Credentials Provider can be used to enable a single-user, server-mode install. It could be configured using environment variables:
📝 Additional Information
No response