OpenID Connect Generic Client source code

By Jonathan Daggerhart, on WordPress.org since 2018. 10,000+ active installs.

Browse code Download zip

This plugin allows to authenticate users against OpenID Connect OAuth2 API with Authorization Code Flow. Below is its source code for every one of its 25 releases, what changed in the latest one, and how often it ships.

What changed in 3.11.5

Released Nov 20, 2026, 3 days after 3.11.4
  • Fix: Logins failed with “Invalid state” on hosts that only pass WordPress-style cookie names to PHP, such as Pantheon. The login cookie is now named wp-openid_connect_generic_browser, and the new openid-connect-generic-browser-cookie-name filter can change it.
  • Improvement: When logging is enabled, a failed state check logs which part of the check failed.

5 files changed since 3.11.4: 5 modified, 0 added, 0 removed.

Compare 3.11.4 with 3.11.5

Release history

25 releases since February 2018
  1. 3.11.5 Nov 20, 2026 Fix: Logins failed with “Invalid state” on hosts that only pass WordPress-style cookie names to PHP, such as Pantheon. The login cookie is now named wp-openid_connect_generic_browser, and the new openid-connect-generic-browser-cookie-name filter can change it.
  2. 3.11.4 Nov 16, 2026 Security: Login state is now tied to the browser that started the login and can only be used once.
  3. 3.11.3 Feb 13, 2026 Feature/improvement: Added configurable issuer setting for JWT validation.
  4. 3.11.2 Feb 12, 2026 Improvement: Support identity providers that omit algorithm parameter in JWKS (Microsoft Entra ID).
  5. 3.11.1 Feb 12, 2026 Fix bug created in 3.11.0 release when comparing issuer to derived expected value.
Full OpenID Connect Generic Client changelog with diffs

Source of 3.11.5

138 files
Browse all OpenID Connect Generic Client 3.11.5 files Browse trunk