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

simple-oauth2

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-oauth2 - npm Package Versions

13
6

3.1.0

Diff

Changelog

Source

3.1.0

New features

  • #277 Add support to parse access tokens's expire_at property as UNIX timestamps
jonathansamines
published 3.0.1 •

Changelog

Source

3.0.1

Publishing changes

  • #273 Deprecate unsupported library versions
jonathansamines
published 3.0.0 •

Changelog

Source

3.0.0

Breaking changes

  • #260 Use @hapi/wreck v15. This version changes how a baseUrl is resolved against a path, affecting how auth.tokenHost, auth.tokenPath, auth.authorizeHost and auth.authorizePath are resolved when using the .getToken methods. See @hapi/wreck breaking changes to better understand potential issues that may arise.

  • #260 Use new Node.js WHATWG URL api instead of the legacy url module. This change affects how auth.authorizeHost and auth.authorizePath are resolved when using the authorizationCode.authorizeURL method.

  • #256 Users can override the grant_type parameter when performing a token exchange throught the .getToken method. Useful in cases where the auth server uses a value different from the standard.

  • #256 Token exchange methods no longer mutate provided arguments

  • #255 Follow up to 20 redirects by default

  • #200 #256 Change default multiple scope encoding from using comma to spaces on all token exchange methods

  • #88 Change JSON response parsing mode from smart to strict. Since the OAuth2 specification indicates only JSON responses are valid, any non-JSON response throws an error instead of resolving into a Buffer. Use http.json = true to restore the previous behavior.

New features

  • #270 All token exchange methods now accept an optional argument to override non-essential http options or read parsing options.

  • #268 All token exchange methods can be called without arguments

  • #263 Use @hapi/joi v16. No breaking changes are expected.

jonathansamines
published 2.5.2 •

Changelog

Source

2.5.2

Publishing changes

  • #262 Use files package option instead of .npmignore

Documentation improvements

  • #267 Better document encoding of values for the token exchange process
jonathansamines
published 2.5.1 •

Changelog

Source

2.5.1

New examples

  • #249 Add dropbox usage example

Development dependencies upgradess

  • #254 Upgrade codebase to eslint v6 and airbnb-base-eslint configuration v14
  • #253 Upgrade nock to v11
  • #252 Use ava instead of mocha as test runner
  • #252 Use ava built-in assertions library instead of chai
jonathansamines
published 2.5.0 •

Changelog

Source

2.5.0

Dependencies upgrades

  • #250 Upgrade date-fns library to v2
jonathansamines
published 2.4.0 •

Changelog

Source

2.4.0

Dependencies upgrades

  • #235 Upgrade Joi version to v15 (@hapi/joi)

Development dependencies updates

  • #244 Upgrade mocha test runner to v6
  • #244 Upgrade nyc to v14
  • #244 Upgrade development dependencies to latest version available
jonathansamines
published 2.3.0 •

Changelog

Source

2.3.0

Dependencies upgrades

  • #242 Upgrade debug dependency to v4
jonathansamines
published 2.2.1 •

Changelog

Source

2.2.1

  • Fix Joi schema missusage
jonathansamines
published 2.2.0 •

Changelog

Source

2.2.0

  • Fix access token expiration properties omission
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