faas-auth

An Express middleware for handling API key auth for OpenFAAS services

Usage no npm install needed!

<script type="module">
  import faasAuth from 'https://cdn.skypack.dev/faas-auth';
</script>

README

faas-auth

faas-auth is an Express middleware function for handling API Key authentication for OpenFAAS functions, useful in OpenFAAS functions built from an Express template.

Installation

Use the package manager npm to install faas-auth.

npm install @routefusion/faas-auth

Usage

import authenticate from '@routefusion/faas-auth';
import * as express from 'express';

const app = express()

app.use(authenticate);

License

MIT