You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I don't know if it's a bug or just my fault. I am trying to get all my (public and private) repositories, and I'm currently using the GHP token to gather my data like so:
This only returns my public repositories. When I searched around, I saw that using the search function returns private repo's if you're logged in as the user. I am (checked via await octokit.users.getAuthenticated()). But the search also just returned public repositories.
So I checked the requests headers. And it does correctly add the Authentication: Token ... in the header. So i'm stuck :/
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So I don't know if it's a bug or just my fault. I am trying to get all my (public and private) repositories, and I'm currently using the GHP token to gather my data like so:
This only returns my public repositories. When I searched around, I saw that using the search function returns private repo's if you're logged in as the user. I am (checked via
await octokit.users.getAuthenticated()
). But the search also just returned public repositories.So I checked the requests headers. And it does correctly add the
Authentication: Token ...
in the header. So i'm stuck :/Beta Was this translation helpful? Give feedback.
All reactions