utexas/utexas-eid-auth
最新稳定版本:2.0.1
Composer 安装命令:
composer require utexas/utexas-eid-auth
包简介
UT-specific configuration for use with the WP SAML Auth plugin
README 文档
README
This is a WordPress plugin that provides configuration for using the OneLogin library to sign in using Enterprise Authentication.
Testing integration a WordPress site with OneLogin
- Provision an EID-based account for yourself either via the UI or
terminus wp <site>.<env> -- user create <EID> <EID>@eid.utexas.edu --role=administrator - Download the latest version of
utexas-eid-authat https://github.austin.utexas.edu/eis1-wcs/utexas-eid-auth/archive/refs/heads/master.zip - Go the site's
/wp-admin/plugin-install.phpand choose "Upload plugin" - Upload the zip file you downloaded.
- Activate the plugin.
- Now attempt to sign in and confirm you can authenticate
yoursite.utexas.edu/saml/login
Overriding configuration on a specific site
Options defined in wpsa-options.php are the defaults for UT sites on Pantheon. If for some reason you must override anything set there, create your own mini-plugin by renaming utexas-eid-auth-overrides.php.inc to utexas-eid-auth-overrides.php and making relevant configuration changes. You must then activate this plugin for its changes to take effect.
-
auto_provision: (default:
false). For sites that should automatically create accounts from successful EID authentication, this should be changed totrue. -
permit_wp_login: (default:
false). Changing this configuration option is currently not supported. The current design ofutexas-eid-authonly allows SSO sign-in. -
allowRepeatAttributeName: MUST be set to true (allow). The OneLogin SAML library includes a validation check for duplicate attribute names in the Authorization Response. The IAM team's SAML response includes two attributes with
FriendlyName="utexasEduPersonAffiliation". To avoid this being flagged as invalid, configuration ofsamlauth.authenticationneeds to includesecurity_allow_repeat_attribute_name: true, which passes the value to the underlying library's configuration forallowRepeatAttributeName. -
Additional configuration options can be found in:
统计信息
- 总下载量: 73
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-07-06