Uncharted
05/22/2022, 11:04 AMconst authHandler = new sst.Function(stack, 'AuthorizerFn', {
handler: 'src/authorizer.authorize',
});
and in api
authorizers: {
LambdaAuthorizer: {
type: 'lambda',
function: authHandler,
resultsCacheTtl: '0 seconds',
},
},
Frank
when I put ’30 seconds” the first call works and it seems to reject until the next 30sWhen you say
the first call works
, do u mean the Lambda function handling the route got invoked?Uncharted
05/25/2022, 5:15 PMUncharted
05/25/2022, 5:15 PMUncharted
05/25/2022, 5:16 PMUncharted
05/25/2022, 5:17 PMUncharted
05/25/2022, 5:17 PMFrank
sst start
or after u sst deploy
?