Linux 软件免费装
Banner图

Edel Auth for Supabase

开发者 edelhearts
更新时间 2026年9月25日 20:35
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

login authentication membership google-login supabase

下载

1.0.1 1.0.2 1.0.3

详情介绍:

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. Full Setup Guide 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 Key Features Why use this plugin? 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.

安装:

  1. Upload the plugin files to the /wp-content/plugins/edel-auth-for-supabase directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to Settings > Edel Auth (Supabase).
  4. For a step-by-step walkthrough of the API and Google Login setup, refer to our official guide: https://edel-hearts.com/edel-auth-for-supabase-guide/?display_lang=en
Supabase Setup (Required)
  1. Log in to your Supabase Dashboard.
  2. Go to Project Settings > API.
  3. Copy the Project URL, anon public key, and service_role secret.
  4. Paste these credentials into the plugin settings page in WordPress.
  5. Note: The service_role key is stored securely and used for administrative tasks like checking Google users, syncing user deletions, or the "Keep Alive" feature.
Email Setup (Optional) You can configure the plugin to send a "Welcome Email" from WordPress upon new user registration. Go to Settings > Edel Auth (Supabase) and configure the Welcome Email Settings section. You can specify the Sender Name, Sender Email, Subject, and Body content. Maintenance Settings (Optional) If you are using Supabase's Free Plan, projects may be paused after 7 days of inactivity. Enable "Keep Alive" in the settings to have WordPress automatically access your Supabase project once a day, preventing it from pausing.

常见问题:

How do I remove the "Powered by Supabase" text from Supabase emails?

This text is automatically added by Supabase if you are using their built-in email service. To remove it, you must configure Custom SMTP in your Supabase Project Settings. Once configured, you can edit the Email Templates to remove the footer.

Does this plugin sync users to the WordPress database?

Yes, but efficiently. A WordPress user record is created (or updated) only when a user successfully logs in via Supabase. This ensures that users exist in WordPress for compatibility with other plugins (like WooCommerce or membership plugins), but authentication is handled by Supabase.

Does logging out of WordPress log me out of Supabase?

Yes. The plugin detects the WordPress logout action and triggers a sign-out request to Supabase on the frontend, ensuring both sessions are terminated.

What happens if I delete a user from WordPress?

If you have configured the Service Role Key in the settings, deleting a user from the WordPress admin screen will also delete the corresponding user from your Supabase project.

What happens if a Google-registered user tries to reset their password?

The plugin's "Smart Check" feature detects that the email is associated with a Google provider. Instead of sending a reset email (which wouldn't work), it displays a helpful message advising the user to log in with Google.

Can Administrators log in via the Supabase form?

No. For security reasons, users with administrator privileges are blocked from logging in via the frontend Supabase forms. Admins should continue using the default /wp-login.php or /wp-admin.

Where can I find the Redirect URL for Google Login?

If you use Google Login, you need to add your site's URL to the Redirect URLs in Supabase (Authentication > URL Configuration). Usually, this is just your site's home URL (e.g., https://example.com).

Should I enable "Confirm email" in Supabase?

Yes, we strongly recommend keeping Confirm email enabled (Authentication > Providers > Email). The plugin links a Supabase account to an existing WordPress user by email address, so email ownership must be verified by Supabase. Users with the administrator role are always blocked. If you want to block additional roles (e.g. editors), use the eafs_is_login_blocked filter.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0