@alchemycodelab/auth-middleware
v0.1.3
Published
This is express middleware that can be used to redirect users to the alchemy SSO portal.
Downloads
14
Readme
Alchemy Auth Middleware
This is express middleware that can be used to redirect users to the alchemy SSO portal.
Usage
const express = require('express');
const app = express();
const {authMiddleware} = require('auth-middleware');
app.get('/', authMiddleware, (req, res) => res.send('hi'));
app.listen(7890)