https://github.com/zbitname/extauth
Auth module for NodeJS.
https://github.com/zbitname/extauth
Last synced: about 1 month ago
JSON representation
Auth module for NodeJS.
- Host: GitHub
- URL: https://github.com/zbitname/extauth
- Owner: zbitname
- License: mit
- Created: 2017-09-14T20:27:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-04T12:10:34.000Z (about 6 years ago)
- Last Synced: 2025-08-18T05:19:40.015Z (10 months ago)
- Language: TypeScript
- Size: 39.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# NOT FOR PRODUCTION (not yet now)
[](https://travis-ci.com/zbitname/extauth)
# 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
```bash
# 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
```bash
npm run ava
```
### Code coverage
```bash
npm run coverage
```
## Implemented tests with frameworks
- Koa2