Grant v4.0.0 Release Notes
Release Date: 2018-03-14 // about 6 years ago-
- ๐ Change: Officially Node >= 4.0.0 required!
- ๐ Change: Dropped the
request
dependency in favor ofrequest-compose
- ๐ Change: Return errors more consistently based on the
transport
used (see below) - ๐ Change: The internal session variable
step1
was renamed torequest
- ๐ Change: The internal
_config
property is no longer exposed
app.use(new Grant({server: {transport: 'session'}})) app.get('/final_callback', (req, res) => { if (req.query.error) {} // v3.x if (req.session.grant.response.error) {} // v4.x })