https://github.com/hongquan/kikiauth
This software is a captive portal for Wifi network. It plays the role of Auth-Server for WifiDog. Provide authentication via OAuth with popular social networks.
https://github.com/hongquan/kikiauth
captive-portal luci made-in-vietnam wifi-marketing wifidog
Last synced: 7 months ago
JSON representation
This software is a captive portal for Wifi network. It plays the role of Auth-Server for WifiDog. Provide authentication via OAuth with popular social networks.
- Host: GitHub
- URL: https://github.com/hongquan/kikiauth
- Owner: hongquan
- Created: 2012-07-31T03:07:57.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2015-02-12T10:25:27.000Z (over 10 years ago)
- Last Synced: 2023-08-26T14:57:50.468Z (almost 2 years ago)
- Topics: captive-portal, luci, made-in-vietnam, wifi-marketing, wifidog
- Language: Lua
- Homepage:
- Size: 364 KB
- Stars: 23
- Watchers: 7
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
KikiAuth (abandoned)
========KikiAuth is based on LuCI, providing an alternative to Auth Server for WifiDog.
KikiAuth aims to support authentication via OAuth services (Google, Facebook, Twitter...) only and run on the same box as WifiDog (no need to setup a separated machine for authentication).Important note
--------------The project is abandoned, because of these obstacles:
- Entire Facebook website is on HTTPS. It means that if we let user to login to Facebook, we have to open all traffic to Facebook website. It means that even before logging in our splash screen, user still can use Facebook, Google. These sites are open to allow OAuth login.
- The firewall open the traffic based on destination IP address, not domain. It means that we have to find all IP addresses of facebook.com and other Facebook owned domains. But due to Facebook's load balancing mechanism, each time we query, the DNS returns a different set of IP addresses. The set of IP address also become invalid after a while, and come back valid after another time.
- Facebook doesn't use only facebook.com. It also uses various domains for other resource (JS, CSS). These are also not fixed and can be changed any time.
I can only have workaround for the second issue, by making the router to periodically retrieve new IP addresses for a set of known domain. But still, the overall is not reliable.
Build
-----You must have a copy of LuCI source tree (luci-0.10).
Copy KikiAuth folder to luci-0.10/applications.Run
make runhttpd
to compile.
Build ipk package
------ Copy the folder to openwrt/package (source tree)
- Rename Makefile_build_standalone to Makefile (replace the old Makefile)
- Rename "dist" folder to "root"
- Choose the luci-app-kikiauth in `make menuconfig`.
- Run `make package/luci-app-kikiauth/compile V=99` to build.