[WordPress] 外掛分享: XLogin

首頁外掛目錄 › XLogin
全新外掛
安裝啟用
尚無評分
1748 天前
最後更新
問題解決
WordPress 5.3+ PHP 7.0+ v1.1.2 上架:2020-03-20

內容簡介

XLogin 可增強 WordPress 的登入頁面(通常是 wp-login.php),允許使用者使用以下外部服務進行驗證:

Facebook 登入
Google 登入
Yahoo! OAuth

這些服務可以個別啟用或禁用。 XLogin 在啟用的每個服務的 WordPress 登入頁面上添加一個按鈕。點擊按鈕會將瀏覽器發送到相應的外部服務,用戶可以授權 WordPress 網站訪問其信息。例如,獲得了用戶的 Facebook 公開個人資料的訪問權限,XLogin 會檢索其電子郵件地址以找到相應的 WordPress 使用者以完成登入流程。

XLogin 還維護外部別名列表。它們是映射到 WordPress 使用者的附加電子郵件地址。某些有用的外部別名情況包括:

在 WordPress 個人檔案中,一個用戶的電子郵件地址沒有在任何外部服務中使用。例如,企業 WordPress 網站可能要求在使用者個人檔案中使用公司電子郵件地址。如果使用者在外部別名列表中有著 Gmail 電子郵件地址,他們仍可以用 Google 登入。

一個 WordPress 使用者帳戶由實際用戶組共享。使用 XLogin 不需要用戶共用單個密碼。只需將電子郵件地址註冊為外部別名(根據外部服務所知)即可輕鬆添加和刪除使用者。

XLogin 有設置選項,可以將外部服務限制為只對具有外部別名的用戶可用。這允許嚴格控制誰可以使用外部服務進行登錄。

使用者在 WordPress 和外部服務中的個人檔案可能不同。電子郵件地址是其中一個,顯示名稱(或其成分家庭和名字)是另一個。XLogin 提供將外部個人檔案信息導入當前會話的選項。導入的顯示名稱將帶有外部服務名稱標籤。例如,如果使用者在 WordPress 中的顯示名稱是「John Doe」,但在他的 Facebook 帳戶中被稱為「Johnny D」,那麼在使用 Facebook 登入時,他會在 WordPress 會話中顯示為「Johnny D(Facebook)」而不是「John Doe」。

最後,XLogin 為「訪客」用戶提供概念。當外部服務提供的電子郵件地址不對應於特定的 WordPress 使用者時,XLogin 將按照使用服務的設定繼續進行訪客 WordPress 使用者配置。有一些基於用戶角色控制訪問內容的外掛程式;網站可以與 XLogin 結合使用,以控制訪問者可以查看什麼內容。請注意,訪客 WordPress 使用者應該具有最低限度的特權。XLogin 有保障措施,例如過濾掉訪客的刪除帖子等權限,以確保訪客無法訪問儀表板或更新自己的個人資料。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「XLogin」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

XLogin enhances the WordPress login page (usually wp-login.php) to
allow users to authenticate with the following external services:

Facebook Login
Google Sign-In
Yahoo! OAuth

These services can be enabled or disabled individually. XLogin adds a
button to the WordPress login page for each enabled service. Clicking
the button sends the browser to the corresponding external service
where the user can authorize the WordPress site to access their
information. Having been granted access to, for example, the Facebook
public profile of a user, XLogin retrieves their email address to
find a matching WordPress user to complete the login process.
XLogin also maintains a list of external aliases. They are additional
email addresses for mapping to WordPress users. Some scenarios where
external aliases can be handy include:

A user’s email address in his WordPress profile is not used in any
of the external services. For example, a corporate WordPress site
may mandate the use of company email addresses in user
profiles. If a user has for example his Gmail address in the
external alias list, they can still nevertheless sign in Google.

A WordPress user account is shared by a group of actual
users. With XLogin it is not necessary to have the users share a
single password. Instead just register their email addresses (as
known by the external services) as external aliases; it becomes a
simple matter to add and remove user.

XLogin has the option to restrict an external service to only users with
external aliases. This allows tight control on who can use external
services to login.
A user’s profile in WordPress and in the external service may be
different. Email address is one, and display name (or its component
family and given names) is another. XLogin offers the option to import
the external profile information into the current session. The imported
display name will be tagged with the external service name. For
example, if a user has display name ‘John Doe’ in WordPress, but is
known as ‘Johnny D’ in his Facebook account, then he would be
displayed as ‘Johnny D (Facebook)’ (instead of ‘John Doe’) in his
WordPress session when he logs in with Facebook.
Finally XLogin has the notion of ‘guest’ user. When an email address
provided by an external service does not correspond to a specific
WordPress user, XLogin will proceed with a guest WordPress user
configured for the service. There are plugins that control access to
content based on user roles; a site can combine such with XLogin to
control what is visible to guests. Note that guest WordPress users
should have minimal privileges. XLogin has safeguards to ensure, for
example, that a guest cannot edit posts. It also filters out guest’s
permission to access the dashboard or to update their own profile.

延伸相關外掛

文章
Filter
Mastodon