Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

details about "auth-token: YOUR-SECRET-AUTH-TOKEN" #186

Open
saranjsr opened this issue Jun 24, 2018 · 1 comment
Open

details about "auth-token: YOUR-SECRET-AUTH-TOKEN" #186

saranjsr opened this issue Jun 24, 2018 · 1 comment

Comments

@saranjsr
Copy link

saranjsr commented Jun 24, 2018

Hello,

I would like to know what Auth token need to provide?
I want to test Jenkins which hosted on ECS which has enabled GitHub Authentication+ MFA.
I tried to provide my Jenkins user API key but didn't work and getting 403.

@saranjsr saranjsr reopened this Jun 25, 2018
@kadrach
Copy link

kadrach commented Sep 10, 2018

Looks to be just another header that you can configure, that is sent with the request.

From a quick glance it appears Jenkins requires you to do basic authentication using your username and api token. So I guess in theory all you need to do is craft the required Authorization header and configure it in Goad.

Lifted straight from Wikipedia:

For example, if the browser uses Aladdin as the username and OpenSesame as the password, then the field's value is the base64-encoding of Aladdin:OpenSesame, or QWxhZGRpbjpPcGVuU2VzYW1l. Then the Authorization header will appear as:

Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l

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

No branches or pull requests

2 participants