How-to Guides¶
How-to guides are recipes. They take the reader through the steps required to solve a specific problem. They are goal-oriented.
Identity Providers¶
- Generic OIDC Provider - Azure AD, Okta, Dex, Zitadel, and others.
- Authelia
- Keycloak
- Authentik
- Pocket ID
GitHub is not supported. See Provider Compatibility for what a provider must support, and for the alternative.
System Administration¶
- Installation - How to install
luci-ssofrom the package feed, or from a package you built. - Building from Source - How to build the packages with the OpenWrt SDK for an architecture the package feed does not serve.
- Configuring in LuCI - How to configure the OIDC settings and roles from the LuCI web interface.
- Installing a Private CA Certificate - How to make the router trust a self-signed or private CA certificate.
- Upgrading - How to upgrade to a new version and restore the login button after a LuCI upgrade.
- Rotating Credentials - How to update the client secret or switch identity providers.
- Role-Based Access Control - How to define who can access the router and what they can do.
- Split-Horizon Networking - How to configure luci-sso when your router and browser reach the IdP via different addresses.
- Running Behind a Reverse Proxy - How to serve LuCI and luci-sso through a reverse proxy, such as nginx, that terminates TLS.
- Debugging - How to troubleshoot authentication failures.
- Backing Up and Restoring - How to preserve your configuration across a reflash or factory reset.
- Removing luci-sso - How to completely uninstall the package and restore password login.
Development¶
- Development Workflow - The day-to-day loop: build, test, lint, and prepare a pull request.
- Adding a New Crypto Backend - How to implement a new native C provider (e.g., for BoringSSL).
- Running Tests - How to run each test bucket, a single file, or a filtered subset.
- Running the Fuzzer - How to run the coverage-guided fuzzer.
- Writing Documentation - How to use the documentation toolkit and standards.
- Adding Error Codes, Limits, and Cookies - How to keep the code and the lint-checked reference pages in sync.