Skip to content

Commit

Permalink
fix: Add missing resource and path variables in auth event
Browse files Browse the repository at this point in the history
Addresses #917 (comment)
  • Loading branch information
Danilo Campana Fuchs committed Jun 3, 2020
1 parent 578ecc9 commit efc4866
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/events/http/createAuthScheme.js
Expand Up @@ -59,8 +59,10 @@ export default function createAuthScheme(authorizerOptions, provider, lambda) {
requestId: 'random-request-id',
resourceId: 'random-resource-id',
resourcePath,
path: request.path,
stage: provider.stage,
},
resource: resourcePath,
}

// Create event Object for authFunction
Expand Down

0 comments on commit efc4866

Please sign in to comment.