langgenius / webapp-conversation

MIT License
446 stars 836 forks source link

能否添加用户名和密码登陆 #39

Open triumph opened 10 months ago

triumph commented 10 months ago

没有用户名和密码登陆,不敢对外开放给同事使用(只能公司内部),希望能添加多用户的功能,比如使用sqlite数据库。 还有一个疑问,要是dify 后端创建了2个APP应用,难道就需要运行2个webapp-conversation 程序,开2个网站吗? 谢谢。

iamjoel commented 10 months ago

If you create two apps, you should change some codes to support pass the current API_KEY into the chat component.

PotatoGarfield commented 7 months ago

If you create two apps, you should change some codes to support pass the current API_KEY into the chat component.

How to do it?

somethingwentwell commented 5 months ago

I added Supabase auth, you can try it https://github.com/langgenius/webapp-conversation/pull/76