jaredhanson / jaredhanson/passport-http
How to custom fail page?
Open
- 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
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