jaredhanson / jaredhanson/passport-http

Response of Basic

Open
#17 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
261
Forks
112
PR merge metrics
No merged PRs in 30d

Description

I am using basic authentication for authenticating client credentials in Oauth2orize. In my tests I am using a browser based test-client to do the testing. If the credentials are wrong I get the basic form for user and password being opened to submit username and password.

I don't want that...I just want it to return 401. Is this a problem for browser based client only or is this for all clients? If its for all clients How do I avoid it and just return 401.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the invalid-credentials case with the browser-based test client and inspect the basic authentication flow in passport-http. Confirm whether the browser prompt is specific to that client or applies generally; done means invalid credentials produce HTTP 401 without triggering a login prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.