xprezzo-oauth2-server

1.0.0 • Public • Published

xprezzo-oauth2-server

Complete, compliant and well tested module for implementing an OAuth2 server in Node.js.

Installation

npm install xprezzo-oauth2-server

The xprezzo-oauth2-server module is framework-agnostic but there are several officially supported wrappers available for popular HTTP server frameworks such as xprezzo, express and Koa. If you're using one of those frameworks it is strongly recommended to use the respective wrapper module instead of rolling your own.

Features

  • Supports authorization_code, client_credentials, refresh_token and password grant, as well as extension grants, with scopes.
  • Can be used with promises, Node-style callbacks, ES6 generators and async/await (using Babel).
  • Fully RFC 6749 and RFC 6750 compliant.
  • Implicitly supports any form of storage, e.g. PostgreSQL, MySQL, MongoDB, Redis, etc.

Tests

To run the test suite, install dependencies, then run npm test:

npm install
npm test

/xprezzo-oauth2-server/

    Package Sidebar

    Install

    npm i xprezzo-oauth2-server

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    241 kB

    Total Files

    73

    Last publish

    Collaborators

    • xprezzo