Home

Awesome

elm-serverless-auth-jwt

serverless elm-package CircleCI

This is authorization middleware for elm-serverless using JSON Web Tokens.

Example

See the demo for a complete usage example.

To run the demo

npm install
npm start

and visit http://localhost:3000. Use curl or Postman to set an Authorization header to Bearer SOME_JWT_TOKEN. The demo secret is "secret". You can change the secret by setting the environment variable demoAuth_auth__secret, before running npm start.