Skip to content

Instantly share code, notes, and snippets.

@justindra
Created January 20, 2021 03:43
Show Gist options
  • Save justindra/afed7a400e1fc80a23d609bcf5df81ad to your computer and use it in GitHub Desktop.
Save justindra/afed7a400e1fc80a23d609bcf5df81ad to your computer and use it in GitHub Desktop.
Auth0-Authorizer
# auth-service
functions:
tokenAuthorizer:
handler: src/token-authorizer.main
environment:
AUTH0_JWKS_URI: REPLACE_WITH_REAL_VALUE
AUTH0_AUDIENCE: REPLACE_WITH_REAL_VALUE
AUTH0_ISSUER: REPLACE_WITH_REAL_VALUE
resources:
Outputs:
TokenAuthorizerArn:
Value: !GetAtt [TokenAuthorizerLambdaFunction, Arn]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment