修改gitea第三方登录包含官方及我自部署请求token问题
This commit is contained in:
parent
d8ad715f97
commit
16d303f275
|
|
@ -546,6 +546,7 @@ func GetGiteaAccessTokenByCode(baseUrl, code string, redirectURI string, clientI
|
|||
}
|
||||
err = json.Unmarshal(respBytes, &resp)
|
||||
if err != nil {
|
||||
log.Println("gitea response decode err:", err, " response content:", string(respBytes))
|
||||
return resp, err
|
||||
}
|
||||
return resp, nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue