
內容簡介
這是一個簡單的 OAuth2 外掛,可以讓您從 Nextcloud 登錄到 WordPress 網站,並提供將登錄按鈕添加到 WordPress 登錄頁面和一個 shortcode 來生成您自己的按鈕。您可以設置哪些 Nextcloud 用戶組映射到哪些 WordPress 用戶角色,以及成功登錄後用戶被重定向到哪個頁面。如果您正在使用 Nextcloud 中的 External sites 應用,您可以將 URL 設置為 www.example.com/wp-login.php?nc-sso=redirect,這樣它會自動將用戶重定向到您的 Nextcloud 安裝,而無需他們單擊登錄按鈕。
該外掛已經在 Nextcloud 20.0.14 至 24.0.2 上進行了測試。
如果您遇到任何問題,請在支持論壇上或直接 聯繫作者。
請注意,這不是 Nextcloud 的官方插件,僅是一個經常將它用於 WordPress 的開發者創建的插件。
外掛標籤
開發者團隊
原文外掛簡介
Just a simple OAuth2 plugin so you can login to your WordPress site from Nextcloud, there is an option to add a login button on the WordPress login page and a shortcode so you can generate your own button. You can set what Nextcloud user groups get mapped to what WordPress user role and what page the users get redirected to on successful login. If you’re using the External sites app in Nextcloud you can set the URL as www.example.com/wp-login.php?nc-sso=redirect and it will auto redirect the user to your Nextcloud install to login without them having to click the login button.
The plugin has been tested with Nextcloud 20.0.14 to 31.0.4.
If you have any problems please reach out on the support forum or directly here.
Note this isn’t an official plugin from Nextcloud, it’s just from someone that uses it with WordPress alot.
