Closed TimUnderhay closed 6 years ago
Looks good! It won't let me merge because it says that there are conflicts. I think that's because 4 days ago I removed the ".so" file and your commit contains updates to that file. Can you remove that file from this branch and maybe it'll let me merge. Thx.
Sure thing - done.
It still won't let me merge... so I created a new branch and made another pull request and merged it. Thanks.
https://github.com/TeslaGov/ngx-http-auth-jwt-module/pull/36
This PR is my stab at resolving #33. It runs jwt_free either in the 'goto redirect' block or at the end of the normal ngx_http_auth_jwt_handler path. It initialises *jwt with a null value so that the redirect block can detect whether the normal path has gotten to init jwt yet.