2017 © Pedro Peláez
 

wordpress-plugin pressbooks-cas-sso

CAS Single Sign-On integration for Pressbooks.

image

pressbooks/pressbooks-cas-sso

CAS Single Sign-On integration for Pressbooks.

  • Tuesday, July 31, 2018
  • by greatislander
  • Repository
  • 3 Watchers
  • 0 Stars
  • 96 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 11 Versions
  • 210 % Grown

The README.md

Pressbooks CAS Single Sign-On

Contributors: conner_bw, greatislander Tags: pressbooks, sso, cas Requires at least: 6.3.2 Tested up to: 6.3.2 Stable tag: 2.3.1 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html, (*1)

CAS Single Sign-On integration for Pressbooks., (*2)

Description

Packagist GitHub release Codecov, (*3)

Plugin to integrate Pressbooks with Central AuthenticationService (CAS) single sign-on architectures., (*4)

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., (*5)

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, (*6)

Then, activate and configure the plugin at the Network level., (*7)

Read the integrations documentation for more info: https://docs.pressbooks.org/integrations/cas-sso/, (*8)

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:, (*9)

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 );, (*10)

Because this plugin uses the fabulous apereo/phpCAS library, many other configuration variables can be tweaked., (*11)

Screenshots

Pressbooks CAS Administration., (*12)

Changelog

2.3.1

  • See: https://github.com/pressbooks/pressbooks-cas-sso/releases/tag/2.3.1
  • Full release history available at: https://github.com/pressbooks/pressbooks-cas-sso/releases

Upgrade Notices

2.3.1

  • Pressbooks CAS Single Sign-On requires WordPress >= 6.3.2

2.3.0

  • Pressbooks CAS Single Sign-On requires PHP >= 8.1
  • Pressbooks CAS Single Sign-On requires Pressbooks >= 6.9.0

2.2.0

  • Pressbooks CAS Single Sign-On requires PHP >= 8.0
  • Pressbooks CAS Single Sign-On requires WordPress >= 6.1.1
  • Pressbooks CAS Single Sign-On requires Pressbooks >= 6.4.0

2.0.0

  • Pressbooks CAS Single Sign-On requires Pressbooks >= 6.0.0

1.2.4

  • Pressbooks CAS Single Sign-On requires Pressbooks >= 5.34.1

1.2.3

  • Pressbooks CAS Single Sign-On requires Pressbooks >= 5.9.1

The Versions

15/06 2018
30/05 2018

dev-better-error-messages

dev-better-error-messages https://github.com/pressbooks/pressbooks-cas-sso

CAS Single Sign-On integration for Pressbooks.

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

publishing ebooks webbooks

29/05 2018

dev-sanitize-text-field

dev-sanitize-text-field https://github.com/pressbooks/pressbooks-cas-sso

CAS Single Sign-On integration for Pressbooks.

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

publishing ebooks webbooks

28/05 2018

dev-various-tweaks

dev-various-tweaks https://github.com/pressbooks/pressbooks-cas-sso

CAS Single Sign-On integration for Pressbooks.

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

publishing ebooks webbooks

02/05 2018