How to write a custom oauth2 authorizer for Amazon API Gateway using Hydra
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
functions
test/functions
.gitignore
.npmignore
README.md
package.json
serverless.yml

README.md

api-severless

Serverless api gateway

Development

  1. Start hydra locally (expects hydra to be installed in your path)
env PORT='443' FORCE_ROOT_CLIENT_CREDENTIALS='8c97eaed-f270-4b2f-9930-03f85160612a:MxGdwYBLZw7qFkUKCFQUeNyvher@jpC]' HTTPS_TLS_CERT_PATH='server.crt' HTTPS_TLS_KEY_PATH='key.pem' hydra host
  1. Run tests npm test or mocha test/**/*.js