@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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    7
    • latest

Version History

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