@alchemycodelab/auth-middleware
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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)

/@alchemycodelab/auth-middleware/

    Package Sidebar

    Install

    npm i @alchemycodelab/auth-middleware

    Weekly Downloads

    7

    Version

    0.1.3

    License

    ISC

    Unpacked Size

    11.1 kB

    Total Files

    16

    Last publish

    Collaborators

    • martypdx
    • opes
    • mehtaphysical