extauth
TypeScript icon, indicating that this package has built-in type declarations

0.1.8-alpha • Public • Published

NOT FOR PRODUCTION (not yet now)

Build Status

About

This module is simpliest alternative for authorize by external providers.

Support auth providers

  • vk.com
  • google.com
  • twitch.tv

TODO

  • Supports redirects on success login and on fail login
  • Implement providers for facebook or any other provider supports OAuth2
  • Maybe implement local provider (auth by login and password)

USE

See examples from test apps for chosen by you or similar framework.

TEST

How to test

Test app examples

# FRAMEWORK_NAME = any (koa2) 
cd test-apps/${FRAMEWORK_NAME}
npm start

and go to page http://localhost:3000/auth/${providerName} where providerName = any (vk, google, twitch)

Automated tests

npm run ava

Code coverage

npm run coverage

Implemented tests with frameworks

  • Koa2

Package Sidebar

Install

npm i extauth

Weekly Downloads

1

Version

0.1.8-alpha

License

MIT

Unpacked Size

54.8 kB

Total Files

21

Last publish

Collaborators

  • zbit