Generating accessToken doesnt work
Hi guys im stuck here for hours now
what im trying to do - i ask a user to login via github and show their both public and private repositry
my sign in func -
all logs - (see the img) i have 24 public repos and 5 private
getting all repos
currently by using the generated accesstoken when passing while fetching repos give only public repos but if i generate my own personal accesstoken through github page https://github.com/settings/tokens and pass it inside the getUserRepos func i get both public and private repos
what im trying to do - i ask a user to login via github and show their both public and private repositry
my sign in func -
all logs - (see the img) i have 24 public repos and 5 private
getting all repos
currently by using the generated accesstoken when passing while fetching repos give only public repos but if i generate my own personal accesstoken through github page https://github.com/settings/tokens and pass it inside the getUserRepos func i get both public and private repos

GitHub
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.


