You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

node-oauth2-server

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-oauth2-server - npm Package Versions

t
thomseddon
published 2.4.0 •

Changelog

Source

2.4.0

  • Set Cache-Control and Pragma headers

  • Allow any valid URI for extension grants

  • Expose client to extendedGrant and after via req.oauth.client

  • Fix express depreciation warning for res.send()

  • Expose user to generateToken and after via req.user

  • Fix lockdown pattern for express 3

  • Add redis example

  • Fix docs to use new express bodyParser module

  • Fix docs for redirect_uri

  • Clarify docs for clientIdRegex

  • Fix docs for missing req argument in generateToken

  • Fix docs for user/userId getAccessToken

  • Fix docs for argument order in getRefreshToken

t
thomseddon
published 2.2.2 •

Changelog

Source

2.2.2

  • Fix bug when client has multiple redirect_uri's (#84)
t
thomseddon
published 2.2.1 •

Changelog

Source

2.2.1

  • Fix node 0.8.x (well npm 1.2.x) support
t
thomseddon
published 2.2.0 •

Changelog

Source

2.2.0

  • Support custom loggers via debug param
  • Make OAuth2Error inherit from Error for fun and profit
  • Don't go crazy when body is null
  • Update tests and examples to express 4
  • Fix lockdown pattern for express 4
  • Update dev dependencies (mocha, should and supertest)
t
thomseddon
published 2.1.1 •

Changelog

Source

2.1.1

  • Allow client to return an array of multiple valid redirect URI's
  • Fix continueAfterResponse when granting
t
thomseddon
published 2.1.0 •

Changelog

Source

2.1.0

  • Add support for client_credentials grant type (@lucknerjb)
  • Support Authorization grant via GET request (@mjsalinger)
t
thomseddon
published 2.0.2 •

Changelog

Source

2.0.2

  • Fix continueAfterResponse option
t
thomseddon
published 2.0.1 •

Changelog

Source

2.0.1

  • Add "WWW-Authenticate" header for invalid_client

2.0

  • Huge intrenal refactor
  • Switch from internal router ("allow" property) to exposing explit authorisation middleware to be added to individual routes
  • Expose grant middleware to be attached to a route of your choosing
  • Switch all model variables to camelCasing
  • Add support for authorization_code grant type (i.e. traditional "allow", "deny" with redirects etc.)
  • Some, previously wrong, error codes fixed
t
thomseddon
published 2.0.0 •
t
thomseddon
published 2.0.0-rc2 •