
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
oauth2server
Advanced tools
Most OAuth-related packages provide middleware or toolkits for implementing an authorization server. This project aims to deliver a complete, standalone, ready-to-deploy authorization server that can be incorporated out-of-the-box into a distributed architecture, along with a collection of SDKs for using it within client apps and API services. This won't be right for everyone, so it's great to have options like nightworld's node-oauth2-server and jaredhanson's oauth2orize.
There are currently three major use cases we intend to support:
OAuth2Server is available as an npm package.
$ npm install oauth2server --save
Only two files are required to set up your own instance locally, app.js and config.development.json. For deployment to Modulus.io, the only additional requirements are config.production.json with a valid Redis configuration and a package.json file listing OAuth2Server as a dependency.
require('oauth2server').start();
{
"local-ui": "path/to/ui/build",
"redis": {
"url": "redis://HOST:PORT",
"auth": "PASSWORD"
}
}
API and configuration docs are in the wiki. We're developing fast and this may be out of sync with the code. Please post an issue if you have questions about usage.
Please fork the repository if you intend to contribute. Otherwise just clone this repo.
$ git clone https://github.com/christiansmith/OAuth2Server.git
You'll need to create a configuration file for development. Config files are loaded based on the NODE_ENV setting. By default, config.development.json is loaded and the server will look for a redis instance at localhost.
To get started experimenting, there's a script for generating sample data in your configured storage target.
From the source code, run $ node sample.js.
From a project directory, run $ node node_modules/oauth2server/sample.js.
Help us build the right thing by coming to the Google Hangout at 10am Pacific every Thursday to brainstorm features and use cases. The hangout link is tweeted by @anvilhacks and posted to the project blog a few minutes in advance each week. We love to hear from prospective users.
To help us build the thing right:
Accelerate development of features you need by sponsoring the project, or get help integrating OAuth2Server into your architecture. Contact Christian Smith for more information (smith at anvil dot io).
Thanks to Ben Dalton, Tom Kersten, and everyone who's contributed to requirements, reviewed code, provided encouragement, expressed interest, made time to discuss the project, and otherwise helped to keep us on track! Thanks to Ward Cunningham for inspiring the weekly hangout!
Copyright (c) 2013 Christian Smith http://anvil.io
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
OAuth 2.0 Server
The npm package oauth2server receives a total of 25 weekly downloads. As such, oauth2server popularity was classified as not popular.
We found that oauth2server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.