ea

express-austack

Auth middleware for Express with Austack

Showing:

Popularity

Downloads/wk

3

Maintenance

No Maintenance Data Available

Package

Dependencies

2

Size (min+gzip)

114.4KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

koa-austack

Express middleware for Austack.

npm install express-austack

Usage

var express = require('express');
var auth = require('express-austack');
var app = express();
app.use(auth(CLIENT_ID, CLIENT_SECRET), function(req, res, next){
    console.log('authorization_payload', req.locals.authorization_payload)
    // do your magic
})

Get CLIENT_ID, CLIENT_SECRET from Austack.

Login > Application > New Application > Settings

Compatibility

This middleware use async/await. So, use it with Express 4+.

LICENSE

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100