WP Manifestindependent plugin directory
manifest / users / mitaa-wordpress-sso

MIT Alumni Association SSO GitLab

Wordpress plugin to enable SSO via MIT Alumni Association

by Clinton Blackburn '08 · gitlab.com/mitcnc/mitaa-wordpress-sso · website

1stars
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://gitlab.com/mitcnc/mitaa-wordpress-sso/-/archive/master/mitaa-wordpress-sso-master.zip

From the readme

Enable users to login with SSO via MIT Alumni Association. This plugin enables WordPress installations to use the Infinite Connection service for single sign-on. Usage requires OAuth 2.0 credentials, issued by the Alumni Association. 1. Coordinate with MITAA to get OAuth credentials. Your redirecturi will follow the scheme: https:///wp-admin/admin-ajax.php?action=mitaa-sso-authorize. 2. Install the plugin via Composer. See https://www.smashingmagazine.com/2019/03/composer-wordpress/ to learn more about installing WordPress plugins via Composer. 3. Activate the plugin as you would any other plugin. 4. Configure the OAuth 2.0 credentials at Settings MITAA SSO. 5. Create a login page (ideally at /login) and select the "MITAA SSO Login" template. When users navigate to the login page they will go through the SSO flow, and be redirected back to your site after successful login. Errors will be logged to Sentry if the WordPress Sentry plugin [1] installed. [1] https://wordpress.org/plugins/wp-sentry-integration/ The plugin can be used for local development with a few tweaks. 1. Set 'redirectUri' = 'https://alpha.mitcnc.org/wp-admin/admin-ajax.php?action=' . self::REDIRECTACTION

Read the full README on GitLab →