A serverless plugin to set OAuth Scopes on APIGateway methods.
npm install --save-dev serverless-oauth-scopes
Add the plugin to your serverless.yml
file:
plugins:
- serverless-oauth-scopes
http:
scopes: [<array of scope string>]
creates a api key and usage pattern (if they don't already exist) and associates then to the Rest Api
JavaScriptApache-2.0
A serverless plugin to set OAuth Scopes on APIGateway methods.
npm install --save-dev serverless-oauth-scopes
Add the plugin to your serverless.yml
file:
plugins:
- serverless-oauth-scopes
http:
scopes: [<array of scope string>]