needle icon indicating copy to clipboard operation
needle copied to clipboard

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

Open nhusby opened this issue 3 years ago • 1 comments

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', }

nhusby avatar Aug 04 '21 18:08 nhusby

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

tomas avatar Aug 04 '21 20:08 tomas