Closed jaredhanson closed 3 years ago
The pull request implements enhanced support for state, such that:
state
passport.authenticate()
OAuth2Strategy
req.authInfo.state
I've merged this pull request, and released passport-oauth2@1.6.0. More information on the improved state support and how to take advantage it are provided on the blog: Application State in OAuth 2.0
passport-oauth2@1.6.0
The pull request implements enhanced support for
state
, such that:state
can be passed as an option topassport.authenticate()
OAuth2Strategy
state
passed in 1. will be set atreq.authInfo.state
.