completecoding / serverless-auto-swagger

80 stars 48 forks source link

Auth #104

Closed deale-admin closed 2 years ago

deale-admin commented 2 years ago

Hello! We are having some troubles trying to implement the lambdaAuthorizer in the swagger endpoints. We have a microservices architechture, our authorizer is in a separated microservice and we can use this authorizer ( via output variable) in our lambdas. Here is a code snipet of how we use this authorizer in our lambdas:

image

The idea that we had is to reuse this authorizer for the lambdaAuthorizer section but we can't figure it out why it ain't working (maybe we are missunderstanding or doing something wrong).

Thank you for your time in advance.