pressbooks / pressbooks-cas-sso
CAS Single Sign-On integration for Pressbooks.
Installs: 12 825
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 8
Forks: 1
Open Issues: 17
Type:wordpress-plugin
pkg:composer/pressbooks/pressbooks-cas-sso
Requires
- php: ^8.1
- apereo/phpcas: ^1.4
- composer/installers: ^2.1
Requires (Dev)
- dev-dev
- 2.5.0
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.0
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- dev-feat/weblate-translations
- dev-dependabot/npm_and_yarn/node-forge-1.3.2
- dev-release-please--branches--dev
- dev-feat/i18n
- dev-dependabot/npm_and_yarn/webpack-5.103.0
- dev-dependabot/npm_and_yarn/js-yaml-3.14.2
- dev-dependabot/npm_and_yarn/http-proxy-middleware-2.0.9
- dev-dependabot/npm_and_yarn/sha.js-2.4.12
- dev-dependabot/npm_and_yarn/serialize-javascript-6.0.2
- dev-dependabot/npm_and_yarn/cipher-base-1.0.7
- dev-dependabot/npm_and_yarn/express-4.21.2
- dev-dependabot/npm_and_yarn/elliptic-6.6.1
- dev-dependabot/npm_and_yarn/pbkdf2-3.1.5
- dev-dependabot/composer/composer-dev-dependencies-10c94841d6
- dev-chore/fix-translation-warning
- dev-dependabot/npm_and_yarn/npm_and_yarn-9b148c16b4
- dev-chore/update-pot-file
- dev-production
This package is auto-updated.
Last update: 2025-11-27 13:48:58 UTC
README
Contributors: conner_bw, greatislander Tags: pressbooks, sso, cas Requires at least: 6.5 Tested up to: 6.5
Stable tag: 2.5.0
License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html
CAS Single Sign-On integration for Pressbooks.
Description
Plugin to integrate Pressbooks with Central AuthenticationService (CAS) single sign-on architectures.
Users who attempt to login to Pressbooks are redirected to the central CAS sign-on screen. After the user’s credentials are verified, they are redirected back to the Pressbooks network. If we match a Pressbooks user by CAS username (stored in user_meta table), the user is recognized as valid and allowed access. If no match, then try to match a Pressbooks user by email (and store a successful match in user_meta table for next time). If the CAS user does not have an account in Pressbooks, a new user can be created, or access can be refused, depending on the configuration.
Installation
composer require pressbooks/pressbooks-cas-sso
Or, download the latest version from the releases page and unzip it into your WordPress plugin directory: https://github.com/pressbooks/pressbooks-cas-sso/releases
Then, activate and configure the plugin at the Network level.
Read the integrations documentation for more info: https://docs.pressbooks.org/integrations/cas-sso/
Security Considerations
Set the PB_CAS_CERT_PATH environment variable to configure validation of the CAS server. Used by CURLOPT_CAINFO for peer and host verification:
putenv( 'PB_CAS_CERT_PATH=/path/to/cachain.pem' ); // Path to the CA chain that issued the CAS server certificate
Advanced Configuration
The email can be filtered, example: add_filter( 'pb_integrations_multidomain_email', function( $email, $uid, $plugin ) { /* Custom use case, return $email */ }, 10, 3 );
Because this plugin uses the fabulous apereo/phpCAS library, many other configuration variables can be tweaked.
Screenshots
Changelog
Please see the CHANGELOG file for more information.
