Socket
Socket
Sign inDemoInstall

oauth2-server-ts

Package Overview
Dependencies
27
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    oauth2-server-ts

Complete, framework-agnostic, compliant and well tested module for implementing an OAuth2 Server in node.js


Version published
Weekly downloads
1
Maintainers
1
Install size
2.95 MB
Created
Weekly downloads
 

Changelog

Source

1.2.16 (2020-12-22)

Bug Fixes

  • package: change repo location (bcfa532)
  • types: add model types (13c7c7b)

Features

  • using typescript-eslint for lint (9245299)

Readme

Source

oauth2-server

npm Version npm Downloads Test Status MIT Licensed oauthjs Slack

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

Installation

npm install oauth2-server-ts

The oauth2-server module is framework-agnostic but there are several officially supported wrappers available for popular HTTP server frameworks such as 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 authorizationCode, clientCredentials, refreshToken, implicit 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.
  • Complete test suite.

Documentation

Documentation is hosted on Read the Docs.

Examples

Most users should refer to our Express or Koa examples.

Examples for v3 are yet to be made.

Tests

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

npm install
npm test

Keywords

FAQs

Last updated on 15 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc