Skip to content

Authentication with username/password doesn't work? #18

@sdomagala

Description

@sdomagala

Hello,
maybe first a little bit of background.

I tried to use this function

travis.authenticate({
    username: GITHUB_USERNAME,
    password: GITHUB_PASSWORD
}, function (err) {
    //we've authenticated!
});

and it only returned Not a Travis user - not very descriptive error BTW.
I checked how this code works, tried to duplicate its functionality cause I thought there is something I did wrong
BUT
there is a line

this._authenticateGithubToken({
            github_token: app.token
        }, callback);

According to this article GitHub API doesn't return token anymore in response.

So, my thinking - this method doesn't work anymore.
Am I right or there is something I missed?

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