How do I get access to private repos (Gitlab) #142

Open
opened 2025-10-31 17:06:27 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @weeebdev on GitHub (Mar 26, 2021).

The app doesn't read private repos that I don't own in Gitlab, but has been added as Developer or Maintainer.

Originally created by @weeebdev on GitHub (Mar 26, 2021). The app doesn't read private repos that I don't own in Gitlab, but has been added as Developer or Maintainer.
Author
Owner

@timo955 commented on GitHub (Mar 29, 2021):

Sent from my LM-Q730 using FastHub

@timo955 commented on GitHub (Mar 29, 2021): _Sent from my LM-Q730 using [FastHub](https://play.google.com/store/apps/details?id=com.fastaccess.github)_
Author
Owner

@weeebdev commented on GitHub (Mar 30, 2021):

Sent from my LM-Q730 using FastHub

???

@weeebdev commented on GitHub (Mar 30, 2021): > > > _Sent from my LM-Q730 using [FastHub](https://play.google.com/store/apps/details?id=com.fastaccess.github)_ ???
Author
Owner

@luni-moon commented on GitHub (Mar 30, 2021):

The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer.

I will check to see if I get the same results. What version are you running, what device, etc.


EDIT:


Go to: Settings/Review Permissions


Check near the bottom of the page for a line that says something like, Full control of private repositories. If you do not see that, please redo your permissions to allow this. Hope that helped. If not, please let me know!


You might have logged in originally using the option with OAuth (Public Repos Only) If you remember doing so, you may need to remove your account from the list, temporarily revoke access in the settings directory I mentioned earlier, then log in with the option using just OAuth (without any special features).


The first option seems more probable, according to your explanation of the issue.


@luni-moon commented on GitHub (Mar 30, 2021): > The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer. I will check to see if I get the same results. What version are you running, what device, etc. ___ EDIT: ___ Go to: `Settings/Review Permissions` ___ Check near the bottom of the page for a line that says something like, `Full control of private repositories`. If you do not see that, please redo your permissions to allow this. Hope that helped. If not, please let me know! ___ You might have logged in originally using the option with `OAuth (Public Repos Only)` If you remember doing so, you may need to remove your account from the list, temporarily revoke access in the settings directory I mentioned earlier, then log in with the option using just `OAuth` (without any special features). ___ The first option seems more probable, according to your explanation of the issue. ___
Author
Owner

@weeebdev commented on GitHub (Mar 31, 2021):

The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer.

I will check to see if I get the same results. What version are you running, what device, etc.


EDIT:


Go to: Settings/Review Permissions


Check near the bottom of the page for a line that says something like, Full control of private repositories. If you do not see that, please redo your permissions to allow this. Hope that helped. If not, please let me know!


You might have logged in originally using the option with OAuth (Public Repos Only) If you remember doing so, you may need to remove your account from the list, temporarily revoke access in the settings directory I mentioned earlier, then log in with the option using just OAuth (without any special features).


The first option seems more probable, according to your explanation of the issue.


I am sorry, but I think I didn't understand you. I meant Gitlab, so I can't find Review Permissions there. Also, for gitlab it's only possible to login via tokens, not OAuth and I already grant all necessary permissions like api, read_user and read_repository

@weeebdev commented on GitHub (Mar 31, 2021): > > The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer. > > I will check to see if I get the same results. What version are you running, what device, etc. > ___ > EDIT: > ___ > Go to: `Settings/Review Permissions` > ___ > Check near the bottom of the page for a line that says something like, `Full control of private repositories`. If you do not see that, please redo your permissions to allow this. Hope that helped. If not, please let me know! > ___ > You might have logged in originally using the option with `OAuth (Public Repos Only)` If you remember doing so, you may need to remove your account from the list, temporarily revoke access in the settings directory I mentioned earlier, then log in with the option using just `OAuth` (without any special features). > ___ > The first option seems more probable, according to your explanation of the issue. > ___ I am sorry, but I think I didn't understand you. I meant Gitlab, so I can't find `Review Permissions ` there. Also, for gitlab it's only possible to login via tokens, not OAuth and I already grant all necessary permissions like api, read_user and read_repository
Author
Owner

@luni-moon commented on GitHub (Mar 31, 2021):

The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer.

I will check to see if I get the same results. What version are you running, what device, etc.


EDIT:


Go to: Settings/Review Permissions


Check near the bottom of the page for a line that says something like, Full control of private repositories. If you do not see that, please redo your permissions to allow this. Hope that helped. If not, please let me know!


You might have logged in originally using the option with OAuth (Public Repos Only) If you remember doing so, you may need to remove your account from the list, temporarily revoke access in the settings directory I mentioned earlier, then log in with the option using just OAuth (without any special features).


The first option seems more probable, according to your explanation of the issue.


I am sorry, but I think I didn't understand you. I meant Gitlab, so I can't find Review Permissions there. Also, for gitlab it's only possible to login via tokens, not OAuth and I already grant all necessary permissions like api, read_user and read_repository

My bad, sorry.

@luni-moon commented on GitHub (Mar 31, 2021): > > > The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer. > > > > I will check to see if I get the same results. What version are you running, what device, etc. > > ___ > > EDIT: > > ___ > > Go to: `Settings/Review Permissions` > > ___ > > Check near the bottom of the page for a line that says something like, `Full control of private repositories`. If you do not see that, please redo your permissions to allow this. Hope that helped. If not, please let me know! > > ___ > > You might have logged in originally using the option with `OAuth (Public Repos Only)` If you remember doing so, you may need to remove your account from the list, temporarily revoke access in the settings directory I mentioned earlier, then log in with the option using just `OAuth` (without any special features). > > ___ > > The first option seems more probable, according to your explanation of the issue. > > ___ > > I am sorry, but I think I didn't understand you. I meant Gitlab, so I can't find `Review Permissions ` there. Also, for gitlab it's only possible to login via tokens, not OAuth and I already grant all necessary permissions like api, read_user and read_repository My bad, sorry.
Author
Owner

@weeebdev commented on GitHub (Mar 31, 2021):

The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer.

I will check to see if I get the same results. What version are you running, what device, etc.

EDIT:

Go to: Settings/Review Permissions

Check near the bottom of the page for a line that says something like, Full control of private repositories. If you do not see that, please redo your permissions to allow this. Hope that helped. If not, please let me know!

You might have logged in originally using the option with OAuth (Public Repos Only) If you remember doing so, you may need to remove your account from the list, temporarily revoke access in the settings directory I mentioned earlier, then log in with the option using just OAuth (without any special features).

The first option seems more probable, according to your explanation of the issue.

I am sorry, but I think I didn't understand you. I meant Gitlab, so I can't find Review Permissions there. Also, for gitlab it's only possible to login via tokens, not OAuth and I already grant all necessary permissions like api, read_user and read_repository

My bad, sorry.

No, it's my bad, sorry. I'll edit my issue to make it more obvious 😄

@weeebdev commented on GitHub (Mar 31, 2021): > > > > The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer. > > > > > > > > > I will check to see if I get the same results. What version are you running, what device, etc. > > > > > > EDIT: > > > > > > Go to: `Settings/Review Permissions` > > > > > > Check near the bottom of the page for a line that says something like, `Full control of private repositories`. If you do not see that, please redo your permissions to allow this. Hope that helped. If not, please let me know! > > > > > > You might have logged in originally using the option with `OAuth (Public Repos Only)` If you remember doing so, you may need to remove your account from the list, temporarily revoke access in the settings directory I mentioned earlier, then log in with the option using just `OAuth` (without any special features). > > > > > > The first option seems more probable, according to your explanation of the issue. > > > > > > I am sorry, but I think I didn't understand you. I meant Gitlab, so I can't find `Review Permissions ` there. Also, for gitlab it's only possible to login via tokens, not OAuth and I already grant all necessary permissions like api, read_user and read_repository > > My bad, sorry. No, it's my bad, sorry. I'll edit my issue to make it more obvious 😄
Author
Owner

@shreyas1599 commented on GitHub (Jun 21, 2021):

@weeebdev can you verify with this endpoint if the repos you wish to be fetched are visible? I'm not a member of any gitlab project so I can't verify. https://gitlab.com/api/v4/users/{your_user_id}/projects?membership=true&Private-Token={your_private_token}. If you aren't aware of your user id you can get it from https://gitlab.com/api/v4/users?username={your_gitlab_username}&Private-Token={your_private_token}
I'll add a fix once you verify it works.

@shreyas1599 commented on GitHub (Jun 21, 2021): @weeebdev can you verify with this endpoint if the repos you wish to be fetched are visible? I'm not a member of any gitlab project so I can't verify. https://gitlab.com/api/v4/users/{your_user_id}/projects?membership=true&Private-Token={your_private_token}. If you aren't aware of your user id you can get it from https://gitlab.com/api/v4/users?username={your_gitlab_username}&Private-Token={your_private_token} I'll add a fix once you verify it works.
Author
Owner

@weeebdev commented on GitHub (Jun 25, 2021):

https://gitlab.com/api/v4/users/{your_user_id}/projects?membership=true&Private-Token={your_private_token}

Nope. I do only see my own public repos (not even private)

@weeebdev commented on GitHub (Jun 25, 2021): > [https://gitlab.com/api/v4/users/{your_user_id}/projects?membership=true&Private-Token={your_private_token}](https://gitlab.com/api/v4/users/%7Byour_user_id%7D/projects?membership=true&Private-Token=%7Byour_private_token%7D) Nope. I do only see my own public repos (not even private)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/git-touch#142