Node Oauth2 Server

screenshot of Node Oauth2 Server

Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with express in node.js

Overview

The oauth2-servernpm is a complete and compliant module for implementing an OAuth2 server in Node.js. After a period of hiatus, the project is back under active maintenance with updated dependencies and bug fixes for version 3 (current master). Version 4 will mostly be backwards compatible without requiring code changes for users on a supported node release.

Features

  • Supports authorization_code, client_credentials, refresh_token, and password grant
  • Can be used with promises, Node-style callbacks, ES6 generators, and async/await
  • Fully RFC 6749 and RFC 6750 compliant
  • Implicitly supports any form of storage (e.g., PostgreSQL, MySQL, MongoDB, Redis, etc)
  • Complete test suite
  • Documentation hosted on Read the Docs
  • Framework-agnostic with officially supported wrappers for popular HTTP server frameworks

Summary