A short article to inform you that I’ve just published a proof of concept of JWT token validation with NGINX using NJS.
NJS is a subset of Javascript that allows extending NGINX functionalities: https://nginx.org/en/docs/njs/
Please note: NGINX can already validate JWT Tokens, but only if you pay for the Plus subscription. Thanks to NJS we can now validate JWT Tokens with the free version of NGINX.
You can find the code on Github here: https://github.com/lombax85/nginx-jwt
Moreover, you can find a benchmark here: https://github.com/lombax85/nginx-njs-benchmark