Skip to content

OAuth token isn't being passed down #38

@myusuf3

Description

@myusuf3

e.g when I am using the call

Github(access_token=oauthtoken) -- it seems to work fine for all calls expect, the following call

project being repo.project

commits += self.client.commits.list(str(project))

I get the follow exception

unexpected response from github.com 401: '{"error":"Couldn't authenticate you"}'

I managed to work around this issue by creating the self.client using the following instantiation

Github(self.oauthtoken)

It probably not being pass down the OAuth token on the particular call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions