Experimental. The OIDC flow is implemented and tested against Microsoft Entra ID and Google, but not against the full range of tenant configurations those two allow. The label means the integration could not be verified end to end everywhere, not that the code is unfinished. Treat a production rollout as something to pilot with one account first.
Setting it up
Step-by-step guides, one per provider, each covering the identity-provider side and the plugin side with the failure modes named:
- SSO with Microsoft Entra ID — app registration, tenant pinning, client secret expiry
- SSO with Google — OAuth client, the Internal-vs-External consent decision
What it does
"Sign in with Microsoft" or "Sign in with Google", using the OIDC authorisation code flow.
| Key | Purpose |
|---|---|
sso.microsoft.enabled | |
sso.microsoft.client_id | |
sso.microsoft.tenant | |
sso.google.enabled | |
sso.google.client_id | |
sso.domain_roles | Email domain → role |
sso.jit_open | Provision any successful sign-in |
sso.default_role | Role for jit_open accounts |
Just-in-time provisioning
An unknown user is created on first sign-in when either:
- Their email domain is mapped in
sso.domain_roles, or sso.jit_openis on, in which case they getsso.default_role
sso.jit_open means anybody your identity provider will authenticate gets an account here. With a single-tenant Entra app that is your staff. With a multi-tenant app, or Google without a hosted-domain restriction, that is a much larger set of people than you intended. Prefer sso.domain_roles, which is explicit about who gets what.
SSO does not bypass the gates
This is the property to check when evaluating any SSO plugin, and the answer here is that it does not.
Disabled accounts stay blocked. Pending accounts stay pending. The final sign-in flows through the normal WordPress cookie path, so the premium authenticate filters run, and this module additionally makes its own pre-checks before completing the flow.
An account you disabled cannot get back in through the identity provider.
With identifier-first login
Identifier-first login is the natural pairing: a mapped domain redirects to the provider, everybody else gets a password field, one login URL.
Sudo mode and SSO users
An SSO user may have no local password. Sudo mode accepts a two-factor or recovery code as well as a password, which is what keeps sensitive actions reachable for them.
What is not here
SAML. This is OIDC only.
Group and role synchronisation beyond domain mapping is Directory sync, a separate module.
What gets logged
Sign-ins with the provider recorded, JIT account creations, and failures.