Not working for gitea private repos
devbean opened this issue · 7 comments
devbean commented
Using Gitako with self-hosted gitea and private repos, Gitako icon flashes to disappear. Errors in console:
GET http://192.168.88.30:3080/api/v1/repos/meta/changelogs/git/trees/develop?recursive=1 403 (Forbidden)
Uncaught (in promise) Error: Only signed in user is allowed to call APIs. content.js:74
at zr (content.js:74:117717)
There is no way to add access token because Gitako cannot even open as there is no icon on left side.
EnixCoda commented
Thank you. Will fix it in v3.10.1
soon.
c-my commented
The sidebar shows Access Denied
and I got this error in private repo even after setting access token:
GET https://{host}/api/v1/repos/{user_name}/{repo_name}/git/trees/master?recursive=1 404 content.js:74
This may be due to the absence of the field authorization: token {access_token}
in the request header.
My gitea version is 1.18.1.
EnixCoda commented
c-my commented
EnixCoda commented
c-my commented
Thank you!
The problem is fixed.