跳至内容
  • 登录
  • 注册
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 消息
  • 支持
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress

插件

  • 我的收藏
  • Beta测试
  • 开发者
下载

Auto Login with Cloudflare

作者Kan-Ru Chen
  • 详情
  • 评价
  • 开发进展
支持

描述

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.

屏幕截图

  • Settings

常见问题

How do I redirect the WP login page at `/wp-login.php` to Cloudflare Access?

Enable the “Redirect login page” option and all future logins will be redirected to /wp-admin and trigger Access authentication.

Why do I get infinite redirect loop after enabling the redirect login page option?

The option assumes that /wp-admin folder is protected by Cloudflare Access. If the folder is not protected, then auto-login will fail and redirect back to the login page, causing the redirect loop.

评价

I love this! Thank you!

cristianuibar 2022年1月31日
Clean, simple, and precisely what it promises. I just configured my complete setup using Cloudflare Access with auth via AzureAD and auto-login to wp-admin. This plugin is gold! Combined with the Authenticated Origin Pulls feature of CF, this is seamlessly intertwined enterprise-level security for free.

Great Auth plugin

Alex Lion 2021年7月31日
I am testing this plugin, I think Jetpack's secure login feature can be replaced with this plugin, this means I can remove Jetpack after my testing is done. Good job, thank you so much.

Thank you

N 2021年3月20日 1 回复
I was close in developing this from scratch. and I was surprised this plugin is already developed. Please keep it up.
阅读所有3条评价

贡献者及开发者

“Auto Login with Cloudflare” 是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • kanru

“Auto Login with Cloudflare”插件已被翻译至1种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Auto Login with Cloudflare”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.1.4

  • Fix redirect issue for non-default wp-admin urls

1.1.3

  • Tested with WordPress 6.1.1

1.1.2

  • Tested with WordPress 5.9
  • Fixed errors when activated in multi-site enabled installation

1.1.1

  • Show an error message when user does not exist to prevent redirect loop

1.0.0

  • Tested with WordPress 5.8
  • Update php-jwt to 5.4
  • Stable. No major change planned

0.9.3

  • Tested with WordPress 5.7

0.9.2

  • update minimum requirements
  • update php-jwt to 5.2.1

0.9.0

  • First beta release.

额外信息

  • 版本:1.1.4
  • 最后更新:3月前
  • 有效安装数量:60+
  • WordPress版本: 5.0 或更高版本
  • 最高兼容版本:6.1.1
  • PHP版本: 5.3 或更高版本
  • 语言:

    Chinese (Taiwan)和English (US).

    翻译成您的语言

  • 标签:
    cloudflarejwtlogin
  • 高级视图

评级

查看所有评价
  • 5星 3
  • 4星 0
  • 3星 0
  • 2星 0
  • 1星 0
登录以提交评价。

贡献者

  • kanru

支持

最近两个月解决的问题:

总计 1,已解决 0

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

  • 关于
  • 消息
  • 主机
  • 捐助
  • Swag
  • 文档
  • 开发者
  • 参与
  • 学习
  • 展示站点
  • 插件
  • 主题
  • 区块样板
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隐私
  • Public Code
WordPress.org
WordPress.org

China 简体中文

  • 访问我们的 Facebook 公共主页
  • 关注我们的 Twitter 账号
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
代码如诗