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

node-oauth2-server

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-oauth2-server - npm Package Versions

124

1.4.0

Diff

Changelog

Source

1.4.0

  • Add support for refresh_token grant type
thomseddon
published 1.3.2 •

Changelog

Source

1.3.2

  • Require application/x-www-form-urlencoded when access token in body
  • Require authentication on both client id and secret
thomseddon
published 1.3.1 •

Changelog

Source

1.3.1

  • Fix client credentials extraction from Authorization header
thomseddon
published 1.3.0 •

Changelog

Source

1.3.0

  • Add passthroughErrors option
  • Optimise oauth.handler() with regex caching
  • Add PostgreSQL example
  • Allow req.user to be set by setting token.user in getAccessToken
thomseddon
published 1.2.5 •

Changelog

Source

1.2.5

  • Expose the token passed back from getAccessToken in req.token
thomseddon
published 1.2.4 •

Changelog

Source

1.2.4

  • Pass through Bad Request errors from connect
thomseddon
published 1.2.3 •

Changelog

Source

1.2.3

  • Fix generateToken override
  • Allow extended grant to pass back custom error
thomseddon
published 1.2.2 •

Changelog

Source

1.2.2

  • Fix reissuing
thomseddon
published 1.2.1 •

Changelog

Source

1.2.1

  • Allow token reissuing (Model can return an object to indicate a reissue, plain string (as in previous implementation) or null to revert to the default token generator)
thomseddon
published 1.2.0 •

Changelog

Source

1.2.0

  • Add optional generateToken method to model to allow custom token generation
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