Announcing SSO for Microsoft Entra — A Free, Open-Source WordPress Plugin

I’ve just published SSO for Microsoft Entra, a free and open-source WordPress plugin that brings single sign-on (SSO) to WordPress via Microsoft Entra ID (formerly Azure Active Directory).

It’s available now on both WordPress.org and GitHub.

Why I Built This

At CODE TOT, we manage WordPress sites for businesses that run on Microsoft 365. Every time we onboarded a new client, the same pain points surfaced:

  • Setting up separate WordPress accounts for every team member
  • Resetting forgotten passwords
  • Worrying about ex-employees who still had active accounts
  • Paying for expensive proprietary SSO plugins that did more than what most teams actually needed

The existing solutions were either expensive (miniOrange, WPO365 — $49 to $499/year) or technically outdated. There wasn’t a free, modern, and well-documented open-source option that used OpenID Connect with PKCE — the current security best practice.

So I built one.

What It Does

SSO for Microsoft Entra lets users sign in to WordPress using their Microsoft 365 work account. No separate WordPress password required.

FeatureDetail
OIDC + PKCEMost secure OAuth 2.0 flow — no client secret exposure on the frontend
Auto provisioningWordPress accounts created on first SSO login (Subscriber role by default)
Encrypted secretsClient secrets stored with libsodium or AES-256-GCM
Rate limitingBuilt-in protection against brute-force SSO attempts
Auto-redirectOptionally skip the WordPress login page entirely
Contextual helpStep-by-step Azure Portal setup guide built into the settings page
Vietnamese translationFull translation included

How It Compares

FactorSSO for Microsoft EntraminiOrangeWPO365
PriceFree ($0)$49–$499/yr€99–€399/yr
Open source✅ GPL-2.0
OIDC + PKCE✅ Native❌ (SAML)
Encrypted secrets✅ libsodium/AES-256-GCM
Vietnamese
Rate limiting✅ Built-in❌ (addon)

Setting It Up (5 Minutes)

  1. Install the plugin from WordPress.org or GitHub
  2. Register an app in Azure Portal (App registrations → New registration — set redirect URI to https://yoursite.com/sso/callback)
  3. Configure in WordPress: Settings → Entra SSO → enter Tenant ID, Client ID, Client Secret
  4. Set permissions: Microsoft Graph → Delegated: openid, profile, email
  5. Test in an incognito window

Detailed documentation is available on the settings page itself (click the Help button) and in the GitHub README.

Get Involved

If you’re running WordPress for a business on Microsoft 365, give it a try. It’s free, it’s open source, and it just works.

Built by Khoi Pro — WordPress Core Contributor, Plugin Developer, and founder of CODE TOT.