MU Auth
Single sign-on authentication for Marshall University
by Christopher McComas · github.com/marshallu/mu-auth · website
★ 0stars
80composer installs
0forks
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/marshallu/mu-auth/archive/refs/heads/main.zipAlso on Packagist as marshallu/mu-auth:
composer require marshallu/mu-authFrom the readme
MU Auth
A WordPress plugin that provides Single Sign-On (SSO) authentication for Marshall University via CAS (Central Authentication Service).
Requirements
- WordPress
- ACF Pro
- Gravity Forms (optional, required for the Gravity Forms Viewer role)
Installation
Install via Composer:
Or place the plugin in your wp-content/plugins/ directory and activate it.
Configuration
CAS authentication activates automatically on supported hosts:
- WordPress VIP — when the platform-defined VIPGOAPPENVIRONMENT constant is present (all environment types, including local)
- Pantheon — when PANTHEONENVIRONMENT is set in the environment
On any other host, enable it with an environment variable:
Note that this only gates the CAS login redirect. The custom roles, their admin restrictions, the settings page, and the logout redirect are always registered.
Once active, configure access via the Settings MU Auth Settings page in the WordPress admin. This requires ACF Pro.
Auth Users
Add MU Net IDs and assign each a permissions level:
| Permissions Level | WordPress Role |
|---|---|
| Administrator | administrator |
| Editor | editor |
| Forms | gravityformsviewer |
| Profiles | profilesmanage