Skip to content

codebling/so-express-passport-flash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a minimally reproducible example of how to get the flash message working in a Passport.js Strategy. Related to this StackOverflow question

Open http://localhost:9090/login in your browser once initially to trigger the auth failure.

Open Dev Tools, then reload the page. The response should include a header x-flash-object which contains the JSON-serialized flash object, and set a cookie flash-object with the same contents.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published