We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
手动部署完前后端之后 登录成功时前端显示: { "status": "error", "msg": "Unauthorized operation", "data": null, "data2": null }
后端打印: {"time":"2024-12-31T11:21:25.676151366+08:00","level":"INFO","msg":"http request","ip":"192.168.1.65","method":"GET","latency(ms)":25,"status":200,"current_user":"","auth_type":"","url":"/api/v1/callback/casdoor?code=db36616a98e9883163fa&state=casdoor"}
The text was updated successfully, but these errors were encountered:
casdoor 授权登陆成功之后,会回掉到 server 一侧,即你看到的: /api/v1/callback/casdoor?code=db36616a98e9883163fa&state=casdoor,这个时候 server 会进行 code 到 access token 和用户信息的转换,这个依赖于你有一个可用和正确的 casdoor 配置。
从这个错误信息看,你的 server 一侧的 casdoor 配置有问题
Sorry, something went wrong.
@xian952777 xian 安装时修改过哪些配置?
Rader
No branches or pull requests
手动部署完前后端之后
登录成功时前端显示:
{
"status": "error",
"msg": "Unauthorized operation",
"data": null,
"data2": null
}
后端打印:
{"time":"2024-12-31T11:21:25.676151366+08:00","level":"INFO","msg":"http request","ip":"192.168.1.65","method":"GET","latency(ms)":25,"status":200,"current_user":"","auth_type":"","url":"/api/v1/callback/casdoor?code=db36616a98e9883163fa&state=casdoor"}
The text was updated successfully, but these errors were encountered: