[WordPress] 外掛分享: WPO365 | SAMESITE

WordPress 外掛 WPO365 | SAMESITE 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「WPO365 | SAMESITE」是 2020-08-26 上架。
  • 目前有 200 個安裝啟用數。
  • 上一次更新是 2025-01-20,距離現在已有 104 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

wpo365 |

外掛標籤

teams | cookies | samesite | microsoft teams |

內容簡介

這是一個針對需要使用者登錄的 WordPress 網站而設計的外掛程式(例如使用 WPO365 插件的 Microsoft 登錄),並且其內容加載在嵌入式 iframe 中(例如 Microsoft Teams App / Tab 或類似內容)。此外掛程式會覆蓋 WordPress 中的可插拔函式 wp_set_auth_cookie,以始終將 SameSite 設定為 None 以啟用第三方 cookie 的使用。

前提條件

當 cookie 的「Secure」標誌被設置時,僅像 Chrome 等瀏覽器才會尊重 SameSite=None 標誌。因此,為了使該外掛程式有效啟用瀏覽器對第三方 cookie 的支援,該網站必須使用 SSL。

支援

如果外掛程式無法正常工作,我將竭盡所能提供支援。請前往我們的支援頁面聯繫我們。我無法在所有可能的 WordPress 組態和版本中進行測試,因此很樂意聽取您的反饋並學習!

回饋

如果您是開發人員並且對程式碼感興趣,您應該查看對應的 gist,它位於 github。

開放原始碼

如果您是開發人員並且對程式碼感興趣,您應該查看對應的 gist,它位於 github。

原文外掛簡介

Plugin for WordPress websites that require a user to sign in (e.g. with Microsoft using the WPO365 plugin) and that are loaded inside an iframe (e.g. inside a Microsoft Teams App / Tab or similar). The plugin overrides the pluggable WordPress function wp_set_auth_cookie to always set SameSite=None to enable third-party usage of cookies.
Prerequisites

The SameSite=None flag is only respected by browsers such as Chrome when the cookie’s Secure flag is set. Therefore the website must use SSL for the plugin to effectively enable browser support for 3rd party cookies.

Support
I will go to great length trying to support you if the plugin doesn’t work as expected. Go to our Support Page to get in touch. I haven’t been able to test our plugin in all endless possible WordPress configurations and versions so I am keen to hear from you and happy to learn!
Feedback
I am keen to hear from you so share your feedback with me on Twitter and help me get better!
Open Source
When you’re a developer and interested in the code you should have a look at the corresponding gist at github.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WPO365 | SAMESITE」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.3 | 1.4 | 1.5 | trunk |

延伸相關外掛(你可能也想知道)

  • Social Intents – Live Chat and ChatGPT Chatbots 》與您的客戶交談應該是很容易的。使用您已經在使用的協作工具與他們聊天。Live Chat for Microsoft Teams, Zoom, and Slack可讓您直接從 MS Teams、Zoom 或 Sl...。
  • Embed Outlook Teams Calendar Events 》繁體中文總結:Embed Outlook Teams Calendar Events 外掛在 WordPress 網站上提供了將 Outlook 行事曆嵌入的功能。該外掛使用 Microsoft Graph API 從 Micro...。

文章
Filter
Apply Filters
Mastodon