
This plugin integrates Supabase Authentication into your WordPress site, providing a secure, scalable, and modern membership system.
It allows you to completely separate “Site Administrators” (who use WordPress native auth) from “General Users” (who use Supabase auth).
This ensures your wp-admin remains secure while offering a seamless login experience for your customers.
We have prepared a comprehensive guide to help you through the process, including Google Cloud Platform configuration and Supabase settings:
https://edel-hearts.com/edel-auth-for-supabase-guide/?display_lang=en
Unlike other plugins that sync the entire database, Edel Auth for Supabase authenticates users via the Supabase API on the frontend and only creates a WordPress user session when necessary.
This keeps your WordPress database clean and your site fast.
You can customize the plugin behavior using the following hooks in your theme’s functions.php:
Filter Hook: eafs_user_role
This filter allows you to dynamically change the WordPress user role based on the Supabase provider (e.g., assigning a ‘contributor’ role to users who log in via Google).
Action Hook: eafs_after_user_sync
This action triggers after a user is successfully synced from Supabase to WordPress. It is ideal for updating additional user metadata, such as syncing the display name or recording the last login timestamp.
Filter Hook: eafs_is_login_blocked
Receives (bool $blocked, WP_User $user, object $supabase_user). Return true to deny frontend (Supabase) login for that WordPress user. By default only users with the manage_options capability are blocked.
Filter Hook: eafs_check_provider_max_pages
Maximum number of pages (1,000 users per page) scanned when detecting the auth provider for the “Smart Password Reset” feature. Default: 10.
The standard wp_login action is also fired after a successful Supabase login, so login-tracking plugins work as expected.
[eafs_login] – Displays the login form.[eafs_register] – Displays the registration form.[eafs_forgot_password] – Displays the password reset request form.[eafs_update_password] – Displays the new password entry form (for the reset flow).[eafs_logout] – Displays a logout button (only visible to logged-in users).