Hi community, I have a custom plugin for the authentication on HTTP events and I use some custom properties [flow, scope, and tier] on it, the thing is that those properties are shown as unrecognized on the console.
I’ve been trying to define those properties on the custom plugin using the defineFunctionEventProperties method, but it doesn’t work.
this.serverless.configSchemaHandler.defineFunctionEventProperties('aws','http', {
type: 'object',
properties: {
acl: { type: 'string' },
flow: { type: 'string' },
scope: { type: 'string' },
tier: { type: 'number' },
},
});
Is there a way to define those custom properties for the authorizer object on the serverless file?
Thanks in advance!