Skip to content

hnakamur/nginx-lua-saml-service-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-lua-saml-service-provider

A simple SAML service provider library for openresty/lua-nginx-module: Embed the Power of Lua into NGINX HTTP servers.

The reason I create this is I want something an easy to setup and configure for the SAML ID provider at my office.

This project is NOT meant to support all of SAML specs. Actually I haven't even read the SAML spec yet.

If you want a full-fledged SAML service provider, go for nginx-shib/nginx-http-shibboleth: Shibboleth auth request module for nginx and Shibboleth Service Provider at Products – Shibboleth Consortium.

Dependencies

On Ubuntu, you can install libxmlsec1 and libxmlsec1-openssl with the following command.

sudo apt-get install libxmlsec1 libxmlsec1-openssl

Then, you need to create symbolic links for shared libraries like:

ln -s $(readlink /lib/x86_64-linux-gnu/libz.so.1) /lib/x86_64-linux-gnu/libz.so
ln -s $(readlink /usr/lib/x86_64-linux-gnu/libxml2.so.2) /usr/lib/x86_64-linux-gnu/libxml2.so
ln -s $(readlink /usr/lib/x86_64-linux-gnu/libxmlsec1.so.1) /usr/lib/x86_64-linux-gnu/libxmlsec1.so
ln -s $(readlink /usr/lib/x86_64-linux-gnu/libxmlsec1-openssl.so.1) /usr/lib/x86_64-linux-gnu/libxmlsec1-openssl.so

Test

Install docker-compose and run the following script.

./test_files/test.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published