lua-resty-openidc - Lua implementation to make NGINX operate as an OpenID Connect RP or OAuth 2

  •        129

lua-resty-openidc is a library for NGINX implementing the OpenID Connect Relying Party (RP) and/or the OAuth 2.0 Resource Server (RS) functionality. When used as an OpenID Connect Relying Party it authenticates users against an OpenID Connect Provider using OpenID Connect Discovery and the Basic Client Profile (i.e. the Authorization Code flow). When used as an OAuth 2.0 Resource Server it can validate OAuth 2.0 Bearer Access Tokens against an Authorization Server or, in case a JSON Web Token is used for an Access Token, verification can happen against a pre-configured secret/key .

https://github.com/zmartzone/lua-resty-openidc

Tags
Implementation
License
Platform

   




Related Projects

mod_auth_openidc - OpenID Connect Relying Party and OAuth 2

  •    C

mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. It can also function as an OAuth 2.0 Resource Server, validating OAuth 2.0 bearer access tokens presented by OAuth 2.0 Clients. This module enables an Apache 2.x web server to operate as an OpenID Connect Relying Party (RP) to an OpenID Connect Provider (OP). It authenticates users against an OpenID Connect Provider, receives user identity information from the OP in a so called ID Token and passes on the identity information (a.k.a. claims) in the ID Token to applications hosted and protected by the Apache web server.

lua-resty-waf - High-performance WAF built on the OpenResty stack

  •    Perl

lua-resty-waf is currently in active development. New bugs and questions opened in the issue tracker will be answered within a day or two, and performance impacting / security related issues will be patched with high priority. Larger feature sets and enhancements will be added when development resources are available (see the Roadmap section for an outline of planned features). lua-resty-waf is compatible with the master branch of lua-resty-core. The bundled version of lua-resty-core available in recent releases of OpenResty (>= 1.9.7.4) is compatible with lua-resty-waf; versions bundled with older OpenResty bundles are not, so users wanting to leverage resty.core will either need to replace the local version with the one available from the GitHub project, or patch the module based off this commit.

lua-resty-template - Templating Engine (HTML) for Lua and OpenResty.

  •    Lua

lua-resty-template is a compiling (1) (HTML) templating engine for Lua and OpenResty. (1) with compilation we mean that templates are translated to Lua functions that you may call or string.dump as a binary bytecode blobs to disk that can be later utilized with lua-resty-template or basic load and loadfile standard Lua functions (see also Template Precompilation). Although, generally you don't need to do that as lua-resty-template handles this behind the scenes.

awesome-nginx - A curated list of awesome Nginx distributions, third modules, active developers, etc

  •    C

A curated list of awesome nginx distributions、third modules、active developers and so forth. If you want to contribute, please submit a pull request.

lua-resty-core - New FFI-based API for lua-nginx-module

  •    Lua

This library is production ready and under active development.This pure Lua library reimplements part of the ngx_lua module's Nginx API for Lua with LuaJIT FFI and installs the new FFI-based Lua API into the ngx.* and ndk.* namespaces used by the ngx_lua module.


orange - OpenResty/Nginx Gateway for API Monitoring and Management.

  •    Lua

A Gateway based on OpenResty(Nginx+lua) for API Monitoring and Management. Import the SQL file(e.g. install/orange-v0.6.3.sql) which is adapted to your Orange version into MySQL database named orange.

lua-resty-upstream-healthcheck - Health Checker for Nginx Upstream Servers in Pure Lua

  •    Lua

This library is still under early development but is already production ready.This library performs healthcheck for server peers defined in NGINX upstream groups specified by names.

awesome-resty - A List of Quality OpenResty Libraries, and Resources.

  •    

A List of OpenResty / Nginx modules, Lua libraries, and related resources. OpenResty is a full-fledged web platform by integrating the standard Nginx core, LuaJIT, many carefully written Lua libraries, lots of high quality 3rd-party Nginx modules, and most of their external dependencies. It is designed to help developers easily build scalable web applications, web services, and dynamic web gateways.

nginx-jwt - Lua script for Nginx that performs reverse proxy auth using JWT's

  •    Javascript

nginx-jwt is a Lua script for the Nginx server (running the HttpLuaModule) that will allow you to use Nginx as a reverse proxy in front of your existing set of HTTP services and secure them (authentication/authorization) using a trusted JSON Web Token (JWT) in the Authorization request header, having to make little or no changes to the backing services themselves.IMPORTANT: nginx-jwt is a Lua script that is designed to run on Nginx servers that have the HttpLuaModule installed. But ultimately its dependencies require components available in the OpenResty distribution of Nginx. Therefore, it is recommended that you use OpenResty as your Nginx server, and these instructions make that assumption.

jose-jwt - Ultimate Javascript Object Signing and Encryption (JOSE) and JSON Web Token (JWT) Implementation for

  •    CSharp

Minimallistic zero-dependency library for generating, decoding and encryption JSON Web Tokens. Supports full suite of JSON Web Algorithms as of July 4, 2014 version. JSON parsing agnostic, can plug any desired JSON processing library. Extensively tested for compatibility with jose.4.j, Nimbus-JOSE-JWT and json-jwt libraries.v2.1 and above added extra features support for .NET461+ and coming with 3 version of binaries (NET4, NET461 and netstandard1.4).

lua-resty-auto-ssl - On the fly (and free) SSL registration and renewal inside OpenResty/nginx with Let's Encrypt

  •    Perl

On the fly (and free) SSL registration and renewal inside OpenResty/nginx with Let's Encrypt. This uses the ssl_certificate_by_lua functionality in OpenResty 1.9.7.2+.

lua-resty-limit-traffic - Lua library for limiting and controlling traffic in OpenResty/ngx_lua

  •    Lua

This library is already usable though still highly experimental.The Lua API is still in flux and may change in the near future without notice.

lua-resty-mysql - Nonblocking Lua MySQL driver library for ngx_lua or OpenResty

  •    Lua

This library is considered production ready.This Lua library takes advantage of ngx_lua's cosocket API, which ensures 100% nonblocking behavior.

lua-resty-redis - Lua redis client driver for the ngx_lua based on the cosocket API

  •    Lua

This library is considered production ready.This Lua library takes advantage of ngx_lua's cosocket API, which ensures 100% nonblocking behavior.

lua-resty-kafka - Lua kafka client driver for the Openresty based on the cosocket API

  •    Lua

This library is still under early development and is still experimental. This Lua library takes advantage of ngx_lua's cosocket API, which ensures 100% nonblocking behavior.

lua-resty-logger-socket - Raw-socket-based Logger Library for Nginx (based on ngx_lua)

  •    Perl

This library is still experimental and under early development. This is aimed to replace Nginx's standard ngx_http_log_module to push access logs to a remote server via an nonblocking socket. A common remote log server supporting sockets is syslog-ng.

lua-resty-websocket - WebSocket support for the ngx_lua module (and OpenResty)

  •    Lua

This library is considered production ready.This Lua library implements a WebSocket server and client libraries based on the ngx_lua module.

lua-resty-upload - Streaming reader and parser for http file uploading based on ngx_lua cosocket

  •    Lua

This library is considered production ready.The multipart/form-data MIME type is supported.

nginx-lua-prometheus - Prometheus metric library for Nginx written in Lua

  •    Lua

This is a Lua library that can be used with Nginx to keep track of metrics and expose them on a separate web page to be pulled by Prometheus. You need to install nginx package with lua support (libnginx-mod-http-lua on newer Debian versions, or nginx-extras on older ones). The library file, prometheus.lua, needs to be available in LUA_PATH. If this is the only Lua library you use, you can just point lua_package_path to the directory with this git repo checked out (see example below).