0.0.4 • Published 8 years ago
auth0-horn-middlewares |
Provides middlewares to be used in webtasks to handle authentication with Auth0
const Auth0 = require('auth0-horn-middlewares');
app.get('/secure',
Auth0.ensureAuthenticated,
(req, res, next) => {
res.status(200);
});