WordPress.org

Perú

  • Temas
  • Plugins
  • Noticias
  • Acerca de
  • Guía del usuario
  • Facebook
  • Twitter
  • Contacto
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

OpenID Connect Generic Client

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

OpenID Connect Generic Client

By Jonathan Daggerhart
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

This plugin allows to authenticate users against OpenID Connect OAuth2 API with Authorization Code Flow.
Once installed, it can be configured to automatically authenticate users (SSO), or provide a «Login with OpenID Connect»
button on the login form. After consent has been obtained, an existing user is automatically logged into WordPress, while
new users are created in WordPress database.

Much of the documentation can be found on the Settings > OpenID Connect Generic dashboard page.

Please submit issues to the Github repo: https://github.com/daggerhart/openid-connect-generic

Installation

  1. Upload to the /wp-content/plugins/ directory
  2. Activate the plugin
  3. Visit Settings > OpenID Connect and configure to meet your needs

FAQ

What is the client’s Redirect URI?

Most OAuth2 servers will require whitelisting a set of redirect URIs for security purposes. The Redirect URI provided
by this client is like so: https://example.com/wp-admin/admin-ajax.php?action=openid-connect-authorize

Replace example.com with your domain name and path to WordPress.

Can I change the client’s Redirect URI?

Some OAuth2 servers do not allow for a client redirect URI to contain a query string. The default URI provided by
this module leverages WordPress’s admin-ajax.php endpoint as an easy way to provide a route that does not include
HTML, but this will naturally involve a query string. Fortunately, this plugin provides a setting that will make use of
an alternate redirect URI that does not include a query string.

On the settings page for this plugin (Dashboard > Settings > OpenID Connect Generic) there is a checkbox for
Alternate Redirect URI. When checked, the plugin will use the Redirect URI
https://example.com/openid-connect-authorize.

Reviews

Great Plugin!

Robert 24 de febrero, 2025
We have been using the plugin for several years. It’s without frills and works absolutely reliably. Many thanks!

It just works!

imoorena 28 de agosto, 2024
As simple as it needs to be with no added cruft. Easy to configure and use.

Best OpenID plugin and free!

Matthias Kittsteiner 17 de octubre, 2023
After testing multiple OpenID plugins – even paid one – this is by far the best. Thank you! Some suggestions for improvements: more flexible filtering, better documentation and enhanced multisite support.

Best Openid client plugin by far.

Xavi Ivars 27 de mayo, 2023
Every other plugin is simply a trap to get you paying a premium version. This one simply works as expected, with no bloatware. 🙂

The best there is, lightweight and easy to use

V.E.L 2 de abril, 2023
Been trying all other OpenID plugins, ended up uninstalling them, premium issues, bloatware, etc. Tried this once only, now i’m using it on all my Wordpress sites. thanks a lot! I just hope it’s maintained.

Works

kumitterer 18 de febrero, 2023
I tried a couple of other OIDC/OAuth2 client plugins and this is the only one that Just Works™ out of the box. Perfect.
Read all 19 reviews

Contributors & Developers

“OpenID Connect Generic Client” is open source software. The following people have contributed to this plugin.

Contributors
  • Jonathan Daggerhart
  • Tim Nolte

“OpenID Connect Generic Client” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “OpenID Connect Generic Client” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

3.10.0

  • Chore: @timnolte – Dependency updates.
  • Fix: @drzraf – Prevents running the auth url filter twice.
  • Fix: @timnolte – Updates the log cleanup handling to properly retain the configured number of log entries.
  • Fix: @timnolte – Updates the log display output to reflect the log retention policy.
  • Chore: @timnolte – Adds Unit Testing & New Local Development Environment.
  • Feature: @timnolte – Updates logging to allow for tracking processing time.
  • Feature: @menno-ll – Adds a remember me feature via a new filter.
  • Improvement: @menno-ll – Updates WP Cookie Expiration to Same as Session Length.

3.9.1

  • Improvement: @timnolte – Refactors Composer setup and GitHub Actions.
  • Improvement: @timnolte – Bumps WordPress tested version compatibility.

3.9.0

  • Feature: @matchaxnb – Added support for additional configuration constants.
  • Feature: @schanzen – Added support for agregated claims.
  • Fix: @rkcreation – Fixed access token not updating user metadata after login.
  • Fix: @danc1248 – Fixed user creation issue on Multisite Networks.
  • Feature: @RobjS – Added plugin singleton to support for more developer customization.
  • Feature: @jkouris – Added action hook to allow custom handling of session expiration.
  • Fix: @tommcc – Fixed admin CSS loading only on the plugin settings screen.
  • Feature: @rkcreation – Added method to refresh the user claim.
  • Feature: @Glowsome – Added acr_values support & verification checks that it when defined in options is honored.
  • Fix: @timnolte – Fixed regression which caused improper fallback on missing claims.
  • Fix: @slykar – Fixed missing query string handling in redirect URL.
  • Fix: @timnolte – Fixed issue with some user linking and user creation handling.
  • Improvement: @timnolte – Fixed plugin settings typos and screen formatting.
  • Security: @timnolte – Updated build tooling security vulnerabilities.
  • Improvement: @timnolte – Changed build tooling scripts.

3.8.5

  • Fix: @timnolte – Fixed missing URL request validation before use & ensure proper current page URL is setup for Redirect Back.
  • Fix: @timnolte – Fixed Redirect URL Logic to Handle Sub-directory Installs.
  • Fix: @timnolte – Fixed issue with redirecting user back when the openid_connect_generic_auth_url shortcode is used.

3.8.4

  • Fix: @timnolte – Fixed invalid State object access for redirection handling.
  • Improvement: @timnolte – Fixed local wp-env Docker development environment.
  • Improvement: @timnolte – Fixed Composer scripts for linting and static analysis.

3.8.3

  • Fix: @timnolte – Fixed problems with proper redirect handling.
  • Improvement: @timnolte – Changes redirect handling to use State instead of cookies.
  • Improvement: @timnolte – Refactored additional code to meet coding standards.

3.8.2

  • Fix: @timnolte – Fixed reported XSS vulnerability on WordPress login screen.

3.8.1

  • Fix: @timnolte – Prevent SSO redirect on password protected posts.
  • Fix: @timnolte – CI/CD build issues.
  • Fix: @timnolte – Invalid redirect handling on logout for Auto Login setting.

3.8.0

  • Feature: @timnolte – Ability to use 6 new constants for setting client configuration instead of storing in the DB.
  • Improvement: @timnolte – Plugin development & contribution updates.
  • Improvement: @timnolte – Refactored to meet WordPress coding standards.
  • Improvement: @timnolte – Refactored to provide localization.

See the previous changelogs here

Meta

  • Version 3.10.0
  • Last updated 1 año ago
  • Active installations 9.000+
  • WordPress version 5.0 or higher
  • Tested up to 6.4.5
  • PHP version 7.4 or higher
  • Languages

    English (US), French (France) y German.

    Translate into your language

  • Tags
    appsloginoauth2openidconnectsecurity
  • Advanced View

Ratings

5 out of 5 stars.
  • 19 5-star reviews 5 stars 19
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Add my review

See all reviews

Contributors

  • Jonathan Daggerhart
  • Tim Nolte

Support

Got something to say? Need help?

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Perú

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
El código es poesía.