@alchemycodelab/auth-middleware

This is express middleware that can be used to redirect users to the alchemy SSO portal.

Usage no npm install needed!

<script type="module">
  import alchemycodelabAuthMiddleware from 'https://cdn.skypack.dev/@alchemycodelab/auth-middleware';
</script>

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)