跳到內容
  • 登入
  • 註冊
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 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 reply
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
  • 最後更新:4 個月之前
  • 運作中的安裝:70+
  • WordPress Version: 5.0 or higher
  • 已測試到版本:6.1.1
  • PHP Version: 5.3 or higher
  • 語言:

    Chinese (Taiwan) 及 English (US).

    翻譯成你的語言

  • 標籤:
    cloudflarejwtlogin
  • 進階顯示

評分

顯示全部
  • 5星 3
  • 4星 0
  • 3星 0
  • 2星 0
  • 1星 0
Log in to submit a review.

貢獻者

  • kanru

支援

最近兩個月解決了的問題:

1個中的0個

檢視支援論壇

捐贈

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 寄存
  • 贊助基金會
  • Swag
  • 線上說明
  • 開發者資源
  • 共同參與
  • Learn
  • 展示網站
  • 外掛
  • 佈景主題
  • 區塊版面配置
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隱私權
  • Public Code
WordPress.org
WordPress.org

Hong Kong 香港中文

  • 訪問我們的 Facebook 專頁
  • 訪問我們的 Twitter 帳戶
  • Visit our Instagram account
  • Visit our LinkedIn account
代碼就是詩歌。