Sikada Authorization
A simple authorization system for WordPress
by Sikada Works · github.com/sikada-works/sikada-auth · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sikada-works/sikada-auth/archive/refs/heads/main.zipA lightweight, secure, and customizable login and password reset system for WordPress.
Features
- Custom Login Forms: Replace the default
wp-login.phpwith a customizable Gutenberg block. - Frontend Password Reset: Allow users to reset passwords directly from your site's frontend.
- Rate Limiting: Protect against brute-force attacks with configurable login attempt limits.
- Login Logging: Track all successful and failed login attempts with a searchable history.
- Role-Based Redirects: Send users to different pages after login based on their role.
- Email Notifications: Get alerted when suspicious login activity occurs.
- Customizable Emails: Send branded password reset emails.
Installation
- Upload the
sikada-authfolder to the/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Run
composer installandnpm install && npm run buildif installing from source.
Configuration
Navigate to Settings > Sikada Auth to configure:
- General: Set your custom Login and Password Reset pages.
- Redirects: Define where users go after logging in (e.g., Admins to Dashboard, Subscribers to Home).
- Security: Adjust rate limiting thresholds and IP whitelists.
- Email: Configure "From" name/email and admin alert thresholds.
- Logs: Set log retention policies (default: 90 days).
Usage
1. Create a Login Page
- Create a new page (e.g., "Login").
- Add the "Login Form" block (
sikada-auth/login-form). - Publish the page.
- Go to Settings > Sikada Auth and select this page as the "Login Page".
2. Create a Password Reset Page
- Create a new page (e.g., "Reset Password").
- Add the "Password Reset" block (
sikada-auth/password-reset). This single block automatically handles both the "Request Link" form and the "New Password" form based on the URL. - Publish the page.
- Go to Settings > Sikada Auth and select this page as the "Password Reset Page".
3. Verification
Visit http://your-site.com/wp-admin/?sikada_test=verify-setup (Admin only) to verify the plugin's internal health.
For Developers
See docs/ARCHITECTURE.md for codebase structure and extensibility points.
License
GPL-2.0-or-later