Basic Auth { username, password, auth: "basic" } is not working
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 237
- PR merge metrics
- No merged PRs in 30d
Description
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',
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the reported username, password, and auth: 'basic' options, then compare the generated request with the manually supplied Authorization header that works. Done means the options produce the same correct authorization header; the payload does not identify a source file or test to inspect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100