{"repo":"TeslaGov/ngx-http-auth-jwt-module","free":true,"listed":false,"github":"https://github.com/TeslaGov/ngx-http-auth-jwt-module","clone":"git clone https://github.com/TeslaGov/ngx-http-auth-jwt-module.git","description":"Secure your NGINX locations with JWT","language":"C","stars":387,"topics":["nginx","jwt","clarakm"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Auth-JWT NGINX Module This is an NGINX module to check for a valid JWT and proxy to an upstream server or redirect to a login page. It supports additional features such as extracting claims from the JWT and placing them on the request/response headers. Breaking Changes with v2 The v2 branch, which has now been merged to master includes breaking changes. Please see the initial v2 release for details, Dependencies This module depends on the JWT C Library. Transitively, that library depends on a JSON Parser called Jansson as well as the OpenSSL library. Directives This module requires several new nginx.conf directives, which can be specified at the http , server , or location levels. See the example NGINX config file for more info. Directive Description ------------------------------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------- auth jwt key The key to use to decode/verify the JWT, in binhex format -- see below. auth jwt redirect Set to \"on\" to redirect to auth jwt loginurl if authentication fails. auth jwt loginurl The URL to redirect to if auth jwt redirect is enabled and authentication fails. auth jwt enabled Set to \"on\" to enable JWT checking. auth jwt algorithm The algorithm to use. One of: HS256, HS384, HS512, RS256, RS384, RS512 auth jwt location Indicates where the JWT is located in the request -- see below. auth jwt validate sub Set to \"on\" to validate the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/TeslaGov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TeslaGov/ngx-http-auth-jwt-module/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}