jaredhanson / jaredhanson/passport
Disable session globally
Open
- Dominant language
- JavaScript
- Stars
- 23.5k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
I'd like to know if it is possible to disable the session globally? I don't like the idea to provide the {session:false} in every route.. Since i need some special strategies on some routes, I can't just register one strategy globally.
Kind regards
Contributor guide
Research direction
Start by tracing Passport's session handling and how route-level {session:false} interacts with registered strategies. The requested behavior is a global session setting while preserving special per-route strategies; done means routes no longer need repeated session:false unless they require an override.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- express, javascript, nodejs
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100