You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added a new named export AuthTokenRefresh. This is a
constructor that can be invoked to create a distinct instance, for
applications that require more than one Passport instance.
Allow extra params to be sent when requesting access token.
Use embedded _oauth2 constructor to create new OAuth2 instance, to support instances where the _oauth2 object is using a custom implementation.
Removed
Dropped peerDependency on oauth2 library, in favour of using the _oauth2 object exposed by passport.
Dropped support for node.js 0.6 and 0.8, lowest supported version is now 0.10. If you still need support for 0.6 or 0.8, please continue to use v0.4.0 of this module.
Upgrading from 0.4
The move from 0.4 to 1.0 is non-breaking, unless you are using a version of node.js lower than 0.10. In this case, you should stick to using 0.4. Otherwise, you can safely upgrade with no code changes required.