Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Support to Auth Token #26

Open
djom202 opened this issue Sep 9, 2019 · 1 comment
Open

Missing Support to Auth Token #26

djom202 opened this issue Sep 9, 2019 · 1 comment

Comments

@djom202
Copy link

djom202 commented Sep 9, 2019

Actually into the TestRails Api we can use a token instead of username/password, so I've a token for that and in this repo I can't found any way to use it. Please add support for this kind of tokens. Thanks.

@sergeyblohin
Copy link

Actually into the TestRails Api we can use a token instead of username/password, so I've a token for that and in this repo I can't found any way to use it. Please add support for this kind of tokens. Thanks.

You can use your token instead of your password.

const testrail = new Testrail({
    host: `https://${your_domain}.testrail.io`,
    user: `${your_email}`,
    password: `${tour_token_aka_api_key}`
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants