| 开发者 |
considadam
considboras |
|---|---|
| 更新时间 | 2026年10月30日 19:16 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-login.phpsignclave-sso to /wp-content/plugins/.Settings → Signclave SSO (options-general.php?page=signclave-sso). There is no top-level admin menu.
Use the emergency URL shown under Security in plugin settings. It includes a secret key. Existing WordPress accounts can also sign in via SAML when the IdP uid matches user_login; after the first login identity is the stored NameID.
No. Leave Enable LDAP fallback authentication unchecked for SAML-only sites. Turn it on only when you want directory verification for new account creation and LDAP password login.
Yes. Browser SSO sends the user to your Identity Provider (for example F5 APM). When LDAP is enabled, the WordPress server connects to your directory (ldaps:// recommended) for binds and searches. No traffic is sent to the plugin author or to wordpress.org for authentication.
Enable Trust proxy HTTPS headers only if the proxy is trusted and strips client-supplied headers.
Apache gets .htaccess automatically. On Nginx, deny wp-content/uploads/signclave-sso/ in the server block. See docs/instructions.md in the plugin folder.
From the WordPress root, with the plugin active: wp signclave sso disable turns off auto-redirect to the IdP. wp signclave rotate-key prints a new emergency login URL. Full command list is in docs/instructions.md.
docs/f5-apm.md ships with the plugin, including the staging checks. The IdP SSO URL must be the HTTP-POST endpoint; the plugin does not send HTTP-Redirect AuthnRequests.
These four filters are the public extension API (signatures will not change in patch releases):
signclave_sso_map_attributes — ( array $mapped, array $rawAttrs ). $mapped keys: username, email, first, last, groups, nameId. Runs after SAML attribute extraction, before LDAP enrich. nameId is informational (identity stays the signed assertion NameID).signclave_sso_user_roles — ( string[] $roles, WP_User $user, string[] $groups, string $source ). Last word on roles after group mapping.signclave_sso_allow_login — ( true|WP_Error $allow, WP_User $user, array $context ). Return a WP_Error to reject a valid SAML assertion before the auth cookie is set.signclave_sso_authn_request — ( string $xml, array $saml ). Adjust the outbound AuthnRequest XML before it is POSTed to the IdP.signclave_sso_trust_proxy_headers remains available for proxy HTTPS detection.
considboras.considboras as a contributor, and delete only signclave_sso_ transients on uninstall.signclave_sso_ prefix. Existing sls_options are still read until the first save.SIGNCLAVE_SSO_ prefix.signclave-sso. WP-CLI is wp signclave.sls_options are read until the first save, which stores sc_options.signclave_sso_ prefix.node_modules as an optional exclude so CI can run without npm install.user_login (LDAP-optional 0.1.3 rule). Afterwards identity stays the stored NameID. Email still cannot choose the SAML account.bin/plugin-check.sh, .distignore).wp_unslash on REMOTE_ADDR and trusted forwarded HTTPS headers.wp_roles(). Uninstall deletes sc_* transients.options.php) and menu under Settings (not a top-level item).sv_SE; npm run translate*.sc_map_attributes, sc_user_roles, sc_allow_login, sc_authn_request.wp signclave sso, rotate-key, test-ldap, test-saml, doctor.Signclave\), config helpers, instance DI, Vite-built admin assets in dist/. Login behavior unchanged from 0.1.5.