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://cn.wordpress.org/plugins/scouting-openid-connect/#description)
 * [评价](https://cn.wordpress.org/plugins/scouting-openid-connect/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/scouting-openid-connect/#installation)
 * [开发进展](https://cn.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**
 *  最后更新：**4 周前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 6.6.0 或更高版本 **
 *  已测试的最高版本为 **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://cn.wordpress.org/plugins/tags/oidc/)[openid connect](https://cn.wordpress.org/plugins/tags/openid-connect/)
   [Scouting](https://cn.wordpress.org/plugins/tags/scouting/)[scouting nederland](https://cn.wordpress.org/plugins/tags/scouting-nederland/)
   [sol](https://cn.wordpress.org/plugins/tags/sol/)
 *  [高级视图](https://cn.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/)