brew install openssl jansson libjwt
wget https://nginx.org/download/nginx-1.18.0.tar.gz
tar -zxvf nginx-1.18.0.tar.gz
git clone https://github.com/TeslaGov/ngx-http-auth-jwt-module
cd nginx-1.18.0/
brew link openssl # if running on Darwin, check for LDFLAGS and CPPFLAGS
./configure --add-module=../ngx-http-auth-jwt-module \
--with-http_ssl_module \
--with-http_v2_module \
--with-ld-opt="-L/usr/local/opt/openssl/lib" \
--with-cc-opt="-I/usr/local/opt/openssl/include"
make
Use jwks-to-pem.sh to extrat x509 public key.
jwks.sh is giving page not found.
I want authenticate many users to a stream each with there own token per user for example a live musical artist with 1000 guests.
Each guest needs to be authorized to view the show.
How would you go about with this approach ?
Thanks!