OpenID Connect Single Sign-On
OpenID Connect Single-Signon for Wordpress
★ 10stars
98composer installs
2forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dirtsimple/oidc-sso/archive/refs/heads/master.zipAlso on Packagist as dirtsimple/oidc-sso:
composer require dirtsimple/oidc-ssoFrom the readme
OpenID Connect Single-SignOn for WP
This is an OpenID Connect single-signon plugin for Wordpress, similar in many respects to daggerhart/openid-connect-generic, but with a few critical differences in purpose. Specifically:
It's designed to be used by front-end users (e.g. LearnDash, Woocommerce, etc.), rather than back-end users. So it always redirects to the origin page of a login/logout, and tries not to ever give the user an error message if possible.
It's intended to completely replace Wordpress's login system, rather than supplement it, disabling any login or signup that isn't done via the identity provider. Properties mapped from the identity provider override those set in Wordpress, every time the user logs in. If a user wants to change their email address, name, nickname, etc., they have to change it at the IdP or it'll be reset.
(This is by design: if you're trying to do single signon with an IdP in the first place, you want this stuff consistent across sites sharing the login.)
It also adds a few minor features, like:
More sophisticated mapping of user info: instead of just {fieldname}, you can use {fieldA|fieldB:5} to get either the contents of fieldA or t