Skip to content

Commit

Permalink
log authorizer
Browse files Browse the repository at this point in the history
  • Loading branch information
macrael committed Feb 7, 2024
1 parent 84ec11c commit 8c553d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion services/app-api/src/handlers/third_party_API_authorizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ const jwtLib = newJWTLib({
})

export const main: APIGatewayTokenAuthorizerHandler = async (
event
event, context
): Promise<APIGatewayAuthorizerResult> => {
console.log('WHATS COMING IN', JSON.stringify(event))
console.log('EVENT', JSON.stringify(context))

const authToken = event.authorizationToken.replace('Bearer ', '')
try {
// authentication step for validating JWT token
Expand Down

0 comments on commit 8c553d8

Please sign in to comment.