Home

Awesome

serverless-oauth-scopes

serverless

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>]