Description
SSOwat is a simple LDAP single sign-on layer for NGINX, written in Lua. It sits in front of your web apps and checks each request, so users sign in once to a portal and then reach the apps behind NGINX. You add its NGINX configuration in the http block, or in a server block if you want to protect only one virtual host. The access_by_lua_file directive runs the check. Settings live in a conf.json file, and the README recommends editing conf.json.persistent on YunoHost, since conf.json is often overwritten. The only required parameter is portal_domain, and the README documents the others. cookie_secret_file points to the secret used to sign and encrypt cookies, which should be readable only by root. cookie_name is the authentication cookie, which holds a signed JWT with the user and an encrypted password for basic HTTP auth. session_folder stores valid session files, and domain_portal_urls sets the portal to redirect to when access is denied. redirected_urls maps URLs to other URLs. A permissions section controls access per route, including whether an authentication header is added. Problems should be reported to the YunoHost bug tracker. It suits self-hosters who run several web apps on NGINX and want one login in front of them.…
Highlights
- Single sign-on for NGINX
- LDAP-based login
- Per-route permissions
- Signed cookies and session files
Ratings & Reviews
No ratings yet
Be the first to rate SSOwat.
People also visit
Vouch Proxy
an SSO and OAuth / OIDC login solution for Nginx using the auth_request module
SSOwat FAQ
What is SSOwat?
It is a simple LDAP single sign-on layer for NGINX, written in Lua, that puts a login in front of your apps.
How do I set it up?
Add the SSOwat NGINX configuration to the http block, or to a server block to protect a single site, then set up the SSOwat configuration file.
What setting is required?
Only portal_domain is required. The README describes optional settings such as cookie_secret_file, cookie_name, session_folder and permissions.
Where should I report issues?
The README asks you to report issues to the YunoHost bug tracker.
What are the best SSOwat alternatives?
Popular alternatives to SSOwat include Nginx Sso, Vouch Proxy and Guard. See all SSOwat alternatives



