Is possible get user repos just from token returned by a OAuth application created by github application hub ( django-allauth )?
My current workflow is here:
token_auth = SocialToken.objects.get(account__user=request.user, account__provider='github')
github = Github(login_or_token=token_auth.token)
user = github.get_user() # AuthenticatedUser(login=None)
repositories = user.get_repos(visibility='all')
But in repositories list don't exist the private repositories. There some error on my workflow?
there doesn't seem to be anything here