Socket
Socket
Sign inDemoInstall

passport-oauth2-refresh

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

2.2.0

Diff

Changelog

Source

[2.2.0] - 2023-04-15

Added

  • 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.

Updated

  • Added node 18 to test runner
  • Updated dependencies
fiznool
published 2.1.0 •

Changelog

Source

[2.1.0] - 2021-06-29

Added

  • setRefreshOAuth2 option to customise the OAuth2 adapter that is used to refresh the access token.
fiznool
published 2.0.2 •

Changelog

Source

[2.0.2] - 2021-05-11

Updated

  • Update dependencies and test against node 16.
fiznool
published 2.0.1 •

Changelog

Source

[2.0.1] - 2020-12-02

Updated

  • Update dependencies and test against node 14.
fiznool
published 2.0.0 •

Changelog

Source

[2.0.0] - 2020-03-25

Breaking

  • Drop support for node < 10.
fiznool
published 1.1.0 •

Changelog

Source

[1.1.0] - 2018-06-06

Added

  • Support using a strategy which overrides the getOAuthAccessToken function, for example the Reddit or Spotify strategy. #10
fiznool
published 1.0.0 •

Changelog

Source

[1.0.0] - 2015-12-17

Added

  • 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.

fiznool
published 0.4.0 •

Changelog

Source

[0.4.0] - 2015-04-01

Added

  • Allow strategy to be added with an explicit name: refresh.use(name, strategy).
fiznool
published 0.3.1 •

Changelog

Source

[0.3.1] - 2015-03-06

Changed

  • Removed peer dependency on passport-oauth2, to fix npm 3 warning.
fiznool
published 0.3.0 •

Changelog

Source

[0.3.0] - 2015-01-27

Added

  • Support strategies which use separate URLs for generating and refreshing tokens (e.g. passport-echosign).
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc