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

Basic Auth { username, password, auth: "basic" } is not working #369

Open
nhusby opened this issue Aug 4, 2021 · 1 comment
Open

Basic Auth { username, password, auth: "basic" } is not working #369

nhusby opened this issue Aug 4, 2021 · 1 comment

Comments

@nhusby
Copy link

nhusby commented Aug 4, 2021

I switched to needle, and basic auth is not working. It is not setting the authorization header properly.

I tried setting these options and it doesn't work. When I manually enter the header, that works.
{ username: ZD_CONFIG.email + '/token', password: ZD_CONFIG.api_token, auth: 'basic', }

@tomas
Copy link
Owner

tomas commented Aug 4, 2021

What response are you receiving from the endpoint? Can you try with DEBUG=needle to see what's going on behind the curtains?

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