https://github.com/dvsa/ext-svc-authoriser
https://github.com/dvsa/ext-svc-authoriser
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dvsa/ext-svc-authoriser
- Owner: dvsa
- License: mit
- Created: 2019-10-22T12:02:59.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2023-07-12T04:21:51.000Z (almost 3 years ago)
- Last Synced: 2025-02-08T22:28:35.366Z (over 1 year ago)
- Language: TypeScript
- Size: 1.98 MB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.