Drone集成出错,登录失败。

在Drone点击登录的时,跳转到gitea,输入账号密码之后跳回drone。

但并没有登录成功,而是如下图,没有具体的提示。

image

在gitea服务端的日志中查看到了异常日志:

{
    "level": "error",
    "msg": "oauth: cannot exchange code: gta_fajzieqnvr6d3gutovsc6xrijtei2trj6vbc25wpzhcvjpofc7pq: : ",
    "time": "2024-03-26T11:51:47+08:00"
}

同样是没有具体的错误描述。

我现在也碰到这个问题了
http://gitea_url/login/oauth/access_token
{
“error”: “unauthorized_client”,
“error_description”: “invalid client secret”
}