jaredhanson / jaredhanson/passport-http

How to custom fail page?

Open
#15 0 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 try to use:

app.get('/login'
passport.authenticate('digest', { session: false,failureRedirect: '/login',
successRedirect: '/' })
);

web browser throws 302 statuscode when I visit the url.

Contributor guide

Open the contributing guide

Research direction

Start with the /login route and Passport digest authentication options shown in the issue. Reproduce the 302 response, then clarify whether the desired outcome is a custom failure page or different redirect behavior; done means documenting or correcting that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.