Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

passport-oauth2

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-oauth2 - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

7

CHANGELOG.md

@@ -7,6 +7,11 @@ # Changelog

## [1.6.1] - 2021-09-24
### Fixed
- Error in cases where the authorization server returns a successful access
token response which is missing an `access_token` parameter.
## [1.6.0] - 2021-07-01
### Added
- Support for `state: true` option to `Strategy` constructor, which initializes
- Support for `store: true` option to `Strategy` constructor, which initializes
a state store capable of storing application-level state.

@@ -13,0 +18,0 @@ - Support for `state` object passed as option to `authenticate`, which will be

@@ -178,2 +178,3 @@ // Load modules.

if (err) { return self.error(self._createOAuthError('Failed to obtain access token', err)); }
if (!accessToken) { return self.error(new Error('Failed to obtain access token')); }

@@ -180,0 +181,0 @@ self._loadUserProfile(accessToken, function(err, profile) {

2

package.json
{
"name": "passport-oauth2",
"version": "1.6.0",
"version": "1.6.1",
"description": "OAuth 2.0 authentication strategy for Passport.",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc