lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
42.37k stars 9.58k forks source link

[Request] 增加auth系统的profile panel #3997

Open ZeroDeng01 opened 3 weeks ago

ZeroDeng01 commented 3 weeks ago

🥰 需求描述

希望非clerk的auth方案增加类似clerk点击头像打开profile panel的功能

🧐 解决方案

目前casdoorlogto等都有自己的profile page,针对有profile page的auth可以增加用户点击头像打开一个新页面指向对应auth系统自带的profile page方便用户自己修改相关个人信息。如果考虑到page的统一性,可以作为环境变量(AUTH_PROFILE_PAGE)配置,如果配置了prifile page那就点击头像可以打开对应页面,如果对应环境变量为空可以不做处理。

📝 补充信息

对于API代理商和小集体用lobehub作为唯一AI Chat工具的场景,让用户可以自己修改维护自己的个人用户信息比较有必要,避免了用户因为需要修改用户信息(用户密码邮箱手机三方绑定等)而需要联系管理员等不必要的烦恼。一定程度用户自己把握个人信息也提高的系统的安全性。

Profile Page(欢迎补充其他lobehub适配的Auth的page)

lobehubbot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Description of requirements

I hope that the non-clerk auth solution will add a function similar to the clerk's ability to click on the avatar to open the profile panel

🧐 Solution

Currently, casdoor, logto, etc. all have their own profile pages. For auth with a profile page, users can click on the avatar to open a new page and point to the profile page that comes with the corresponding auth system to facilitate users to modify relevant personal information. `.

📝 Supplementary information

For API agents and small groups using lobehub as the only AI Chat tool, it is necessary to allow users to modify and maintain their personal user information, avoiding the need for users to modify user information (user password, email, Mobile phone, Three-party binding, etc.) and need to contact the administrator and other unnecessary troubles. To a certain extent, users themselves can control personal information, which also improves the security of the system.

lobehubbot commented 3 weeks ago

👀 @ZeroDeng01

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

SpeedupMaster commented 2 weeks ago
lobehubbot commented 2 weeks ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


  • zitadel: <domain>/ui/console/users Casdoor and zitadel can modify user information (user password, email, mobile phone, three-party binding, etc.)