Awesome
serverless-oauth-scopes
A serverless plugin to set OAuth Scopes on APIGateway methods.
Install
npm install --save-dev serverless-oauth-scopes
Add the plugin to your serverless.yml
file:
plugins:
- serverless-oauth-scopes
Configuration
http:
scopes: [<array of scope string>]