An open API service indexing awesome lists of open source software.

https://github.com/dvsa/ext-svc-authoriser


https://github.com/dvsa/ext-svc-authoriser

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# ext-svc-authoriser

Lambda authoriser for JWT-based authentication via Azure AD B2C.

### Prerequisites
* Node 8.10

### How to run
* As this lambda function serves as an authoriser, it cannot be directly executed. For debugging purposes, available choices are:
* Run the authoriser providing the [Authoriser Event](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-lambda-authorizer-input.html)
* [Create a simple endpoint in serverless and make it protected by the authoriser](https://serverless.com/framework/docs/providers/aws/events/apigateway/#http-endpoints-with-custom-authorizers)

### How to build
* `npm run build` should do all you need for building this project. The output folder will be `build` and it will contain all necessary files for packaging. Please note that `package.json` will also be present.