Application State in OAuth 2.0
Support for application state has been greatly enhanced in passport-oauth2
version 1.6.0. It is now possible to pass a state
object as an option to passport.authenticate()
, have that state automatically persisted to the session, and then automatically rehydrated when the…