A simple SSO for NGINX, written in Lua
Find a file
2013-10-20 23:05:06 +02:00
portal Add header + footer 2013-10-20 23:05:06 +02:00
.gitignore Add .gitignore 2013-10-20 18:31:37 +02:00
access.lua Bugfixes + flash system 2013-10-20 22:07:26 +02:00
conf.json Refactoring + serving file from lua 2013-10-20 16:38:49 +02:00
hige.lua Refactoring + serving file from lua 2013-10-20 16:38:49 +02:00
init.lua Bugfixes + flash system 2013-10-20 22:07:26 +02:00
README.md Update README.md 2013-10-20 18:34:16 +02:00

SSOwat

A simple LDAP SSO for nginx, written in Lua

Requirements

  • Nginx-extras from Debian wheezy-backports
  • lua-json
  • lua-ldap

OR

Installation

  • Fetch the repository
git clone https://github.com/Kloadut/SSOwat /etc/ssowat
  • Edit SSOwat configuration
nano /etc/ssowat/conf.json

Nginx conf

  • Add SSOwat's Nginx configuration (http{} scope)
nano /etc/nginx/conf.d/ssowat.conf

init_by_lua_file   /etc/ssowat/init.lua;
access_by_lua_file /etc/ssowat/access.lua;

That's it !