UNPKG

serverless-oauth-scopes

Version:

serverless plugin to set oauth scopes on apigateway http methods

22 lines (15 loc) 437 B
# serverless-oauth-scopes [![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com) A [serverless](http://www.serverless.com) plugin to set OAuth Scopes on APIGateway methods. ## Install `npm install --save-dev serverless-oauth-scopes` Add the plugin to your `serverless.yml` file: ```yaml plugins: - serverless-oauth-scopes ``` ## Configuration ```yaml http: scopes: [<array of scope string>] ```