[Bug] Invalid ClientID error when logging in after docker compose deployment #10199
-
📦 PlatformOther, Self hosting Docker 📦 Deploymenet modeserver db(lobe-chat-database image) 📌 Versionmain 💻 Operating SystemWindows 🌐 BrowserChrome 🐛 Bug Descriptiondocker compose部署以后,登录时报无效的ClientID 用生成的账号密码登录casdoor,报密码错误 📷 Recurrence StepsNo response 🚦 Expected BehaviorNo response 📝 Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 14 comments
-
|
👀 @Hook82 Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
|
@Hook82 你好!我是Dosu,我是一个能够帮助您解决问题、回答疑问并成为贡献者的机器人。我会在等待人类维护者的过程中为您提供帮助。 I found some similar discussions and issues related to the "invalid ClientId" error and Casdoor login problems in the Lobe Chat application:
For the "invalid ClientId" error, ensure that the ClientID is correctly configured and validated. The ClientID should be saved from the ZITADEL application settings and set as an environment variable For troubleshooting Casdoor login issues, verify that all required environment variables are correctly set, and ensure network connectivity between the LobeChat server and Casdoor container. If authentication fails, consider hosting Casdoor on a server with proper network connectivity. Additionally, check the container logs for errors and ensure the Casdoor Webhook is correctly configured if applicable [4][5]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
|
使用的是一键部署吗? |
Beta Was this translation helpful? Give feedback.
-
Is it using one-click deployment? |
Beta Was this translation helpful? Give feedback.
-
是的,bash命令一键部署。 |
Beta Was this translation helpful? Give feedback.
-
Yes, bash commands are deployed in one click. |
Beta Was this translation helpful? Give feedback.
-
|
casdoor 登陆出问题好久了 |
Beta Was this translation helpful? Give feedback.
-
Casdoor login has been a problem for a long time |
Beta Was this translation helpful? Give feedback.
-
|
你部署的服务器能直接访问github吗? |
Beta Was this translation helpful? Give feedback.
-
Can the server you deploy directly access github? |
Beta Was this translation helpful? Give feedback.
-
|
你的数据库没有初始化成功,但是脚本清空了 init_data.json,之后启动成功会造成这种情况。 |
Beta Was this translation helpful? Give feedback.
-
Your database has not been initialized successfully, but the script has cleared init_data.json, and then it will be successful in startup. |
Beta Was this translation helpful? Give feedback.
-
按照你说的搞定了 |
Beta Was this translation helpful? Give feedback.
-
As you said |
Beta Was this translation helpful? Give feedback.


你的数据库没有初始化成功,但是脚本清空了 init_data.json,之后启动成功会造成这种情况。
可以重新运行一下脚本,询问是否初始化数据库的时候选N,然后启动之后确认可以登录再清空 init_data.json