Title: Scouting OpenID Connect
Author: Scouting Nederland
Published: <strong>2024 年 12 月 17 日</strong>
Last modified: 2026 年 4 月 30 日

---

搜尋外掛

![](https://ps.w.org/scouting-openid-connect/assets/banner-772x250.png?rev=3208785)

![](https://ps.w.org/scouting-openid-connect/assets/icon.svg?rev=3208785)

# Scouting OpenID Connect

 由 [Scouting Nederland](https://profiles.wordpress.org/scoutingnederland/) 開發

[下載](https://downloads.wordpress.org/plugin/scouting-openid-connect.2.4.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/scouting-openid-connect/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/scouting-openid-connect/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/scouting-openid-connect/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/scouting-openid-connect/#developers)

 [技術支援](https://wordpress.org/support/plugin/scouting-openid-connect/)

## 外掛說明

A WordPress plugin for logging in with Scouting Nederland OpenID Connect Server.

This plugin allows users to authenticate and login to their WordPress websites using
their Scouting Nederland OpenID Connect credentials.
 It provides a secure and convenient
way for Scouting Nederland members to access their WordPress sites without the need
for separate login credentials. With this plugin, users can seamlessly integrate
their Scouting Nederland accounts with their WordPress websites, enhancing the user
experience and simplifying the login process.

## 螢幕擷圖

 * [[
 * Login Page
 * [[
 * Settings Page
 * [[
 * Shortcode Page
 * [[
 * Support Page

## 安裝方式

Make sure you have the role `webmaster` in [mijn.scouting.nl](https://mijn.scouting.nl).

 1.  Go to [https://login.scouting.nl](https://login.scouting.nl), click on `Managed
     websites` and click on `Add OpenID Connect connection`.
 2.  Add the name of your group/website.
 3.  Add the Redirect URI, for example: https://example.com/.
 4.  Add the Post Logout Redirect URI, for example: https://example.com/.
 5.  Select the scopes you want to use. The `Email`, `Personal` and `Membership` scopes
     are required; \
      The `Address`, `Phone number` scope is optional. \ Currently 
     the `Parents/guardians` scope is not supported.
 6.  Select the organizations that can log in. \
      If your organization has sub-organizations,
     you can also select `Allow suborganizations.`
 7.  Select to use the PKCE (code challenge).
 8.  Press `Add Website`.
 9.  Find the website you just created and click on ⓘ.
 10. Copy the Client ID, Client secret, and the scopes to your website.
 11. Fill in the OpenID Connect Settings with the copied data. Make sure the required
     scopes are present:
 12.  * `openid` (Required)
      * `membership` (Required)
      * `profile` (Required)
      * `email` (Required)
      * `address` (Optional)
      * `phone` (Optional)
 13. Fill in the General Settings.
 14. Press `Save Settings`.
 15. Log out and try to log in with the Scouts Login button.

## 常見問題集

### Do i need to be part of Scouting Nederland to use this?

Yes, the OpenID Connect server is used to identify people and only allows access
when they are members of the appropriate organization within Scouting Nederland.

To set up the system at Scouting Nederland, you need webmaster privileges for your
scouting group.

### Are there settings for this plugin?

Yes, there is a settings page where you can set up a redirect after login, configure
the name the user gets in their profile, and enforce that.

### Can roles also be imported into WordPress from SOL?

Currently not, but this is planned for a future update of this plugin.

### Can my parents or guardian also sign in?

Currently not, but this is planned for a future update of this plugin.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Scouting OpenID Connect〉的開發相關工作。

參與者

 *   [ Scouting Nederland ](https://profiles.wordpress.org/scoutingnederland/)
 *   [ Job van Koeveringe ](https://profiles.wordpress.org/jobvk/)

〈Scouting OpenID Connect〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/scouting-openid-connect/contributors)
為這個外掛做出的貢獻。

[將〈Scouting OpenID Connect〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/scouting-openid-connect)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/scouting-openid-connect/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/scouting-openid-connect/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/scouting-openid-connect/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/scouting-openid-connect/)。

## 變更記錄

#### 2.4.1

 * Fixed some spelling mistakes.

#### 2.4.0

 * Added logout support and dedicated handling for the OpenID Connect logout flow.
 * Redefined the nonce-based login flow to harden authentication callbacks.
 * Added logging pages and utilities to inspect plugin activity and support troubleshooting.
 * Added redirect_back to current page for both shortcodes.

#### 2.3.0

 * Added a settings option to define how duplicated emails should be handled: plus
   addressing or return an error.
 * When sending an email via WordPress, the plus addressing is removed so the user
   does not see it.
 * Fixed fallback conditions for phone and address fields in WooCommerce.
 * Added a custom hook for new user registration: `scouting_oidc_user_register`.

#### 2.2.0

 * Add support for `phone` and `address` scopes to store phone number and address
   data in user profiles.
 * Require PKCE (Proof Key for Code Exchange) to be configured in OIDC.
 * Update default scopes to include `address` and `phone` in addition to existing
   scopes.
 * Add WooCommerce integration to automatically sync user data (name, phone, address)
   to WooCommerce billing and shipping fields.
 * Hide phone and address fields from user profile when WooCommerce is active to
   prevent duplication.
 * Improve user profile field rendering with `readonly` instead of `disabled` for
   better accessibility.

#### 2.1.0

 * Tested up to: `6.9`
 * Add logout redirect host allowlist handling in `scouting_oidc_auth_logout_redirect()`
   to permit external logout URLs.
 * Clear user cache after username updates (`clean_user_cache`) to avoid stale user
   data.
 * Trigger core `wp_login` and plugin-specific `scouting_oidc_wp_login` actions 
   when programmatically logging in.

#### 2.0.1

 * Make upgrading from `1.2.0` to `2.0.0` backwards compatible.

#### 2.0.0

 * Use version `2.0.1` instead for backward compatibility with version `1.2.0`.
 * `membership` scope is now required to obtain the SOL Member ID.
 * `infix` is removed from user this was conflicting with WooCommerce, the infix
   is now added before the last name.
 * Removed the `prefix` field from the general settings.
 * Removed the SOL ID field profile this is now the UserName of the WordPress User.
 * Improved error messages and redirects for missing or invalid user data or OIDC
   scopes.
 * Updated setup and support documentation to reflect the new identification model.

#### 1.2.0

 * Add custom redirect option for successful login.

#### 1.1.0

 * Add option to redirect only SOL users.

#### 1.0.2

 * Tested plugin up to WordPress 6.7.2 => 6.8.0

#### 1.0.1

 * Fixed hook wp_login
 * Tested plugin up to WordPress 6.7.1 => 6.7.2

#### 1.0.0

 * Initial release

## 中繼資料

 *  版本 **2.4.1**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 6.6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 8.2 或更新版本 **
 *  語言
 * [Dutch](https://nl.wordpress.org/plugins/scouting-openid-connect/) 及 [English (US)](https://wordpress.org/plugins/scouting-openid-connect/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/scouting-openid-connect)
 * 標籤:
 * [oidc](https://tw.wordpress.org/plugins/tags/oidc/)[openid connect](https://tw.wordpress.org/plugins/tags/openid-connect/)
   [Scouting](https://tw.wordpress.org/plugins/tags/scouting/)[scouting nederland](https://tw.wordpress.org/plugins/tags/scouting-nederland/)
   [sol](https://tw.wordpress.org/plugins/tags/sol/)
 *  [進階檢視](https://tw.wordpress.org/plugins/scouting-openid-connect/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/scouting-openid-connect/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/scouting-openid-connect/reviews/)

## 參與者

 *   [ Scouting Nederland ](https://profiles.wordpress.org/scoutingnederland/)
 *   [ Job van Koeveringe ](https://profiles.wordpress.org/jobvk/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/scouting-openid-connect/)