Auto Login with Cloudflare

Super simple way to allow a single sign on to your WordPress site when using…

Author:Kan-Ru Chen (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.1.1
Plugin version:1.1.4
Added to WordPress repository:03-02-2021
Last updated:19-11-2022
Rating, %:100
Rated by:4
Plugin URI:https://github.com/kanru/auto-login-with-clou...
Total downloads:1 595
Active installs:100+
plugin download
Click to start download

Enable Cloudflare Access self-hosted application to protect your /wp-admin folder. Add your auth domain and aud settings from Cloudflare Access. Authenticated user will be automatically logined to WordPress if their email address matches.

Follow Cloudflare document to setup Access.

You can also define configs in wp-config.php

define('WP_CF_ACCESS_AUTH_DOMAIN', 'yourdomain.cloudflareaccess.com');
define('WP_CF_ACCESS_JWT_AUD', 'examplef2nat0rkar2866wn829a0x2ztdg');
define('WP_CF_ACCESS_REDIRECT_LOGIN', true);

This plugin is not affiliated with nor developed by Cloudflare. All trademarks, service marks and company names are the property of their respective owners.


Screenshots
FAQ
ChangeLog