
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
github-oauth
Advanced tools
simple functions for doing oauth login with github. compatible with any node http server that uses handler callbacks that look like function(req, res) {}
var githubOauth = require('github-oauth')({
githubClient: process.env['GITHUB_CLIENT'],
githubSecret: process.env['GITHUB_SECRET'],
baseURL: 'http://localhost'
})
require('http').createServer(function(req, res) {
if (req.url.match(/login/)) return githubOauth.login(req, res)
if (req.url.match(/callback/)) return githubOauth.callback(req, res)
}).listen(80)
// now go to http://localhost/login
githubOauth.addRoutes(myAppRouter)
// where myAppRouter is a router that will work with:
// myAppRouter.get('/github/login', function(req, res) {})
// http://github.com/flatiron/director works like this
BSD LICENSED
FAQs
simple functions for doing oauth login with github
The npm package github-oauth receives a total of 56 weekly downloads. As such, github-oauth popularity was classified as not popular.
We found that github-oauth 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.