slanatech / swagger-stats

API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
https://swaggerstats.io/
MIT License
893 stars 137 forks source link

Issue in authentication in case of a multi-instance environment #284

Open akshatdubeysf opened 7 months ago

akshatdubeysf commented 7 months ago

Swagger stats provides an in build authentication mechanism which works well in a single instance environment, but If I have multiple instances of the same service, the session is not shared across these instances and hence subsequent calls to swagger stats fails.

Ideally, swagger-stats should work seamlessly with authentication irrespective of the number of instances.