You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Couldn't find out any issue with this. I'm trying to hide my swagger-stats behind the authentication. Everything works except the authentication. I've set the authentication param to true and provide the handler for the callback and nothing happens. I'm out of the ideas.
I'm using hapi-swagger 13.0.2, "swagger-stats": "^0.95.17".
I've done a little investigation. Seems like in the swsHapi.js file, routes are added for stats/metrics/ui/ux but the handler are using just processor functions to obtain those. The whole auth callback is called on swsInterface.js functions (processGetStats and so on) that wraps up the processor ones.
Btw, there are some tests on master that are not working ( supertest with elasticsearch - 500_elastic.js ). I didn't repair them because the test settings are pretty hard to understand, would take too much time and honestly I do not agree with this kind of setup (like one test depend on the execution of the previous one ).
Couldn't find out any issue with this. I'm trying to hide my swagger-stats behind the authentication. Everything works except the authentication. I've set the authentication param to true and provide the handler for the callback and nothing happens. I'm out of the ideas.
I'm using hapi-swagger 13.0.2, "swagger-stats": "^0.95.17".
The text was updated successfully, but these errors were encountered: