serverless-oauth-scopes
Version:
serverless plugin to set oauth scopes on apigateway http methods
22 lines (15 loc) • 437 B
Markdown
# serverless-oauth-scopes
[](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>]
```