- Bump to v4.0.1, as NPM claims I published v4.0.0 two weeks ago!?
- Exposes a single middleware
- Changes to options:
herokuOAuthID
becomesoAuthClientID
herokuOAuthSecret
becomesoAuthClientSecret
herokuBouncerSecret
becomesencryptionSecret
herokuAuthURL
becomesoAuthServerURL
herokaiOnly
andherokaiOnlyRedirect
replaced byherokaiOnlyHandler
ignoreRoutes
becomesignoredRoutes
- Adds
herokuAPIHost
option - Adds
oAuthScope
option (defaults to"identity"
instead of Heroku OAuth default"global"
)
- Check session object for user and user email to verify user presence
- Require cookie-parser and client-sessions middlewares