passport-oauth2
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -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) { |
{ | ||
"name": "passport-oauth2", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "OAuth 2.0 authentication strategy for Passport.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35421
792