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

simple-oauth2

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-oauth2 - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

CHANGELOG.md
# Changelog
## v1.0.2
* Parse token payload response `expires_in` property as integer
## v1.0.1

@@ -4,0 +7,0 @@ * Fixed documentation for **client** option.

5

lib/client/access-token.js

@@ -25,3 +25,6 @@ 'use strict';

} else {
this.token.expires_at = addSeconds(new Date(), token.expires_in);
this.token.expires_at = addSeconds(
new Date(),
Number.parseInt(token.expires_in, 10)
);
}

@@ -28,0 +31,0 @@ }

{
"name": "simple-oauth2",
"version": "1.0.1",
"version": "1.0.2",
"description": "Node.js client for OAuth2",

@@ -5,0 +5,0 @@ "author": "Andrea Reginato <andrea.reginato@gmail.com>",

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