Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

duo_web

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duo_web

Duo two-factor authentication for Node.js web applications

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
418
decreased by-11.63%
Maintainers
1
Weekly downloads
 
Created
Source

Overview

Build Status

duo_nodejs - Duo two-factor authentication for Node.js web applications: https://duo.com/docs/duoweb

This package allows a web developer to quickly add Duo's interactive, self-service, two-factor authentication to any web login form - without setting up secondary user accounts, directory synchronization, servers, or hardware.

Files located in the js directory should be hosted by your webserver for inclusion in web pages.

Installing

Development:

$ git clone https://github.com/duosecurity/duo_nodejs.git
$ cd duo_nodejs
$ npm install

System:

$ npm install global duo_web

Or run the following to add to your project:

$ npm install --save duo_web

Using

$ node --interactive
> const duo_web = require('duo_web');
> duo_web.sign_request(ikey, skey, akey, username);
'TX|...TX_SIGNATURE...==|...TX_HASH...:APP|...APP_SIGNATURE...==|...APP_HASH...'

Test

$ npm run test
...
OK: 13 assertions (42ms)

Lint

$ npm run lint

> duo_web@1.0.1 lint /home/matt/duo/duo_nodejs
> eslint duo.js index.js tests/

Support

Report any bugs, feature requests, etc. to us directly: support@duosecurity.com

Keywords

FAQs

Package last updated on 14 Mar 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc