WPO365 | SEAMLESS WORDPRESS + MICROSOFT INTEGRATION (WPO365 | LOGIN)
Microsoft Entra | Ext.
Install in
Seamless Microsoft Entra | Ext. ID | B2C | M365 Integration for WordPress. For SSO, Mail, Roles, Access, Sync, Copilot, SharePoint, PowerBI.
SINGLE SIGN-ON (SSO)
- Enable Microsoft based Single Sign-on more
- Supported Identity Providers (IdPs): Azure Active Directory, Azure AD B2C, Entra External ID (Azure AD for Customers) more
- Supported SSO protocols: OpenID Connect and SAML 2.0 more
- Supported OpenID Connect User Flows: Authorization Code User Flow (recommended) and Hybrid User Flow more
NEW USERS
- New users that sign in with Microsoft automatically become WordPress users more
INTRANET
- Configure the intranet authentication mode to restrict access to all front-end posts and pages more
- Hide the WordPress Admin Bar for specific roles more
- Send emails using Microsoft Graph instead of SMTP from your WordPress website more
- Choose between delegated (send mail as a user) and application-level (send mail as any user) type permissions.
- Or: Select either a Microsoft 365 account or a personal Microsoft account, like Hotmail.com or Outlook.com, to send WordPress emails.
- Or: Configure RBAC for Exchange Online and authorize as an application but with a limited scope e.g. one specific mailbox.
- Send as HTML
- Save to the Sent Items folder
- Support for file attachments
- Daily refresh of Microsoft Graph access and refresh token
- Auto-flagging and suppression of duplicate emails
- Auto-retry when throttled (HTTP 429)
SCIM
- Entra User Provisioning (SCIM) more
- Create new WP Users
MICROSOFT TEAMS
- Support for (seamless) integration of your WordPress website into a Microsoft Teams Tabs and Apps more
POWER BI
- Embed Microsoft Power BI content (user owns data) more
SHAREPOINT
- Embed a SharePoint Online library more
- Embed a SharePoint Online list more
- Embed an Outlook / Exchange calendar more
- Embed a SharePoint Online search more
EMPLOYEE DIRECTORY
- Embed an intuitve Azure AD / Microsoft Graph based Employee Directory into a front-end post or page more
WPO365 INSIGHTS
- See what matters, when it happens Track key WPO365 events like logins, sent emails and user creation and updates with WPO365 Insights more
WORDPRESS MULTISITE
- Support for WordPress Multisite more
REST API ENDPOINT PROTECTION
- Protect your WordPress REST API endpoints with a combination of a WordPress cookie and a nonce for delegated access more
DEVELOPERS
- Developers can now connect to a RESTful API for Microsoft Graph in their favorite programming language and without the hassle of authentication and authorization more
- PHP hooks for developers to build custom Microsoft Graph / Office 365 integrations more
ADD FUNCTIONALITY WITH PREMIUM EXTENSIONS
Features below can be unlocked with premium WPO365 plugins.
SINGLE SIGN-ON (SSO)
- Hide the WordPress login page “/wp-login.php” and replace with a fully customizable login / logged-out page. more
SYNC
- Full User Sync using MS Graph from Entra to WordPress more
- Create new WP Users
- Update existing WP Users
- (Soft) Delete existing WP Users
- Lookup / Add a user in Entra ID (Azure Active Directory) on WordPress’s built-in Add New User page. more
WP User Roles, Profiles and Avatars will be updated and other rules e.g. LearnDash Enrollments will be applied
SCIM
- Integrate with Entra User Provisioning (SCIM) more
- Create new WP Users
- Update existing WP Users
- (Soft) Delete existing WP Users
- Map User Attributes beyond name and email and store as WordPress user meta
WP User Roles, Profiles and Avatars will be updated and other rules e.g. LearnDash Enrollments will be applied
INTRANET
- Block Direct Access to the Media Library more
ROLES + ACCESS
- Assign WordPress roles by Entra Groups, Entra User Attributes, Domains and / or App Roles more
- Restrict access to site / pages by Entra Groups, Domains and / or WPO365 Audiences more
- Redirect after login by Entra Groups and / or Domains more
COPILOT
- Copilot Rewrite will help authors to generate improved versions of their content without leaving WordPress more
- Use Copilot Chat for WordPress and embed directly in your WordPress intranet or extranet more
LEARNDASH
- Auto-Enroll WP Users in LearnDash Courses and Groups by Entra Groups, Domains and / or Defaults more
CUSTOM USER FIELDS
- Enhance WordPress / BuddyPress User Profiles with Entra User Attributes more
- Auto-retry to deliver emails that failed to send more
- Send attachments larger than 3MB more
- Send as / On behalf more
- Send from a Shared Mailbox more
- Send from alias addresses more
- Enable Staging Mode more
- Mail Throttle more
- Send as BCC more
- Default Reply-To more
MICROSOFT 365 APPS
- Power BI more
- SharePoint Library more
- SharePoint List more
- SharePoint Search more
- Exchange Calendar more
- Viva Engage more
- Employee Directory more
ADVANCED LOGIN OPTIONS
- Support for Multitenancy more
- Support for multiple IdPs more
- Force SSO more
- Dual Login more
- Intercept manual login more
- Prevent pwd. / email change more
- Single Sign-out more
- Sign out of M365 more
- Custom login URL more
- Custom loading template more
- B2C custom domain more
- Embedded B2C login more
- Custom new User email more
WPO365 INSIGHTS
- Get WPO365 Alerts in your inbox when a critical WPO365 event occurs more
AVATAR
- M365 Profile Picture as WordPress / BuddyPress Avatar more
REST API ENDPOINT PROTECTION
- Enable Azure AD based protection for your WordPress REST API endpoints more
CONFIGURATION
- Save multiple configurations
- Directly edit (the JSON representation of) a configuration
Prerequisites
- Make sure that you have disabled caching for your Website, especially when you configure a WordPress based intranet and access to WP Admin and all pubished pages and posts requires authentication. With caching enabled, the plugin may not work as expected
- We have tested our plugin with WordPress >= 5 and PHP >= 7.4
- You need to Entra ID Tenant Administrator to configure both Azure Active Directory and the plugin
- When configuring a WordPress based intranet, you should consider restricting access to the otherwise publicly available wp-content directory more
Support
We will go to great length trying to support you if the plugin doesn’t work as expected. Go to our Support Page to get in touch with us. We haven’t been able to test our plugin in all endless possible WordPress configurations and versions so we are keen to hear from you and happy to learn!
Feedback
We are keen to hear from you so share your feedback with us and contact us using the contact form on our website!
Open Source
When you’re a developer and interested in the code you should have a look at our repo over at WordPress.
Written by Joobi from the project's own listing. See the source page
Also available online.
v45.5
- Security: Media Library Protection (formerly “Require login for the Media Folder”) now writes its rules into the .htaccess file of the uploads folder. Until now, Media Library items could be opened without signing in when another plugin had added rewrite rules to that file, or when WordPress was installed in a subfolder. After updating WPO365 | LOGIN and the premium plugin, please switch the option off and on again on the plugin’s “Roles + Access” configuration page. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Security: Updated phpseclib to version 3.0.59 (was 3.0.58), which patches GHSA-q4pw-cp3q-jxmp. WPO365 doesn’t use the affected code. [LOGIN, MAILER]
- Improvement: Media Library Protection now also works when the WordPress core files and the wp-content folder are in separate folders (e.g. Bedrock). [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Improvement: While Media Library Protection is switched on, WPO365 now checks with a test request that requests for Media Library items reach it (e.g. on nginx), and shows a warning in the WordPress admin when they don’t. The plugin self-test includes the same check. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Improvement: Signing out now also removes the Media Library Protection cookie, so the user has to sign in again before they can view Media Library items. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Improvement: The “M365 Apps” card on the WPO365 dashboard now has a working switch to enable the apps, instead of always showing them as enabled. [LOGIN]
- Improvement: The WPO365 dashboard has a new “Media Library Protection” card to switch the feature on and off. [LOGIN]
- Fix: Media Library Protection now also works on hosts that rewrite requests before they reach the WPO365 plugin, such as WP Engine’s rules engine, where Media Library items returned a 404 (not found) response until now. [LOGIN]
v45.4
- Security: Fixed a vulnerability in SAML 2.0 sign-in by backporting the signature checks of the latest version of the bundled SAML 2.0 library (php-saml 2.22.0), and hardened how WPO365 checks the issuer of a SAML response. Updating is strongly recommended for websites that use SAML 2.0 sign-in. Thanks to the WPScan team for reporting this issue. [LOGIN]
- Security: Hardened how WPO365 reads the key information of a SAML 2.0 signature and of an encrypted SAML assertion, so that a crafted SAML response can no longer exhaust the server’s memory. [LOGIN]
v45.3
- Security: The endpoint that serves Media Library items for “Require login for the Media Folder” now only answers requests that the web server routes to it. [LOGIN]
- Security: Backported security fixes into the bundled SAML 2.0 library (CVE-2025-66475, CVE-2025-66578, GHSA-7mf5-fjj8-mvjc), and hardened how it handles encrypted SAML assertions. [LOGIN]
- Security: While “Require login for the Media Folder” is switched on, WPO365 now shows a warning in the WordPress admin when the website’s layout (e.g. WordPress installed in a subfolder) prevents it from protecting Media Library items. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Fix: On IIS (Windows) web servers, the address a user returns to after signing in now keeps accented and other non-ASCII characters, so that e.g. a Media Library item with such characters in its file name opens after signing in. [LOGIN]
- Fix: Resending an email from the Mail Log Viewer, and automatically retrying a failed email, now works when the email was sent to a comma-separated list of recipients (e.g. by a Gravity Forms notification). Before, every retry failed with “no valid recipient has been specified”. [MAIL, PROFESSIONAL, INTEGRATE, CUSTOMERS (SYNC, INTRANET)]
- Fix: The Mail Audit Log now also records an error when WordPress itself fails to send an email, e.g. because of an invalid From address. It now also reliably records a separate entry for each email when more than one email is sent in the same request. [MAIL, PROFESSIONAL, INTEGRATE, CUSTOMERS (SYNC, INTRANET)]
v45.2
- Security: Fixed the SAML 2.0 replay protection. WPO365 now records each SAML assertion in the database when it’s first used, and refuses any later attempt to sign in with the same SAML response. [LOGIN]
- Security: Hardened the nonce check for sign-ins with OpenID Connect: when two requests try to use the same nonce at the same moment, only the first is accepted. [LOGIN]
- Security: Updated phpseclib to version 3.0.58 (was 3.0.52). [LOGIN, MAILER]
- Fix: On websites with a persistent object cache (e.g. Redis or Memcached), the WPO365 configuration no longer shows premium features as locked when the cache held an outdated list of active premium plugins. Opening the configuration, the “Verify license and check for plugin updates” button on the Licenses page and (de)activating a premium plugin now repair the list. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Fix: Microsoft 365 apps added with the [pintra] shortcode (e.g. the Employee Directory) now load on websites where WordPress and the wp-content folder are in separate folders, as some managed hosts set it up. Before, WPO365 took them for a deprecated version: the app did not load, and a health message reported a deprecated app. [APPS, INTEGRATE (INTRANET)]
v45.1
- Security: Hardened how WPO365 processes the mail authorization response. [LOGIN, GRAPH MAILER]
- Security: While “Skip NONCE verification” is turned on for a website that uses the OpenID Connect Hybrid Flow, WPO365 now shows a warning that the website must be considered vulnerable to replay attacks. [LOGIN]
- Security: Fixed a cross-site scripting (XSS) vulnerability affecting the premium mail Log. [MAIL]
- Security: Hardened “Require login for the Media Folder”: The access cookie is now signed with a per-site secret, it no longer contains sensitive information, and is only issued while the feature is switched on. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Security: If you use “Require login for the Media Folder” on an Apache website that relies on .htaccess for access control, please disable and then re-enable the option on the plugin’s “Roles + Access” configuration page after updating, to apply an important update to the .htaccess access rules. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Security: Requests for Media Library items protected by “Require login for the Media Folder” are now only handled by an active WPO365 premium plugin, never by an inactive (possibly outdated) one that is merely installed. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Security: Hardened how WPO365 checks the requested path of a Media Library item while “Require login for the Media Folder” is switched on. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Security: While “Require login for the Media Folder” is switched on, WPO365 now shows a warning in the WordPress admin if the premium plugin that provides it has not yet been updated, so that the security improvements that are available with version 45.1 are fully applied. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Security: “Require login for the Media Folder” now blocks requests for certain files in the uploads folder, such as PHP files and hidden files (e.g. .htaccess), so that their contents can no longer be downloaded. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Feature: “Require login for the Media Folder” is now available on WordPress multisite networks, both with subdirectories and with subdomains. Each site’s own settings (and in dedicated mode, its own on/off switch) apply to its files. Existing networks that still have the option switched on must disable and then re-enable the option on the plugin’s “Roles + Access” configuration page after updating. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Change: While “Require login for the Media Folder” is switched on but no active WPO365 premium plugin provides it, Media Library items are no longer protected, and WPO365 shows a warning in the WordPress admin. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Improvement: WPO365 now shows a warning in the WordPress admin when “Require login for the Media Folder” is switched on but its rules are not applied, e.g. after importing a configuration. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Improvement: When a sign-in fails with “Your login might be tampered with”, WPO365 now logs why the sign-in could not be verified (e.g. the sign-in link had been used before, or was not created by this website), to help find caching and server configuration issues. [LOGIN]
- Fix: When a WordPress session expires, the “Session expired” prompt now always appears, instead of the website’s home page opening in the popup window. [LOGIN]
- Fix: Single sign-on inside Microsoft Teams (silent authentication) failed since version 45.0. It now bypasses the nonce check in a safe way and also works with Redirect URI’s “strict mode”. [LOGIN]
- Fix: Deactivating WPO365 | LOGIN now switches “Require login for the Media Folder” off and removes its .htaccess rules, instead of leaving the rules behind and causing a critical error for requests for Media Library items. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Fix: An updated “Secure Download Mode” now takes effect for Media Library items the next time a user signs in or opens a page while signed in, instead of only after switching “Require login for the Media Folder” off and on again. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Fix: A Microsoft 365 app no longer shows “A deprecated version of a Microsoft 365 (Embed) App has been detected” when the premium plugin is up to date but WPO365’s cached list of active plugins was outdated. If the plugin is really outdated, only administrators see the details; other visitors see a short notice. [LOGIN]
- Fix: On WordPress multisite networks, activating, deactivating or updating a WPO365 premium plugin network-wide now refreshes every site’s list of active premium plugins, so that the premium options appear in each site’s configuration. [ESSENTIALS, ROLES + ACCESS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Fix: For a “Government GCC (High)” tenant, WPO365 now sends its requests to Microsoft Graph (e.g. to retrieve a user’s attributes, group memberships or profile picture) to graph.microsoft.us instead of graph.microsoft.com, where they failed with “SecurityTokenInvalidCloudInstanceException”. [LOGIN]
v45.0
- Security: Fixed a cross-site scripting (XSS) vulnerability. [LOGIN]
- Security (breaking): Discontinued the option that let apps request any Microsoft Graph endpoint, because it could be misused to reach services it was never meant to; each endpoint must now be explicitly allow-listed. [LOGIN]
- Security: Hardened how allow-listed Microsoft Graph endpoints are matched, so a look-alike web address can no longer slip past the check. [LOGIN]
- Security: Apps can now only request the application-level Microsoft Graph permissions that an administrator has explicitly allowed. [LOGIN]
- Security: Whether a request to Microsoft Graph uses application-level or the signed-in user’s permissions is now decided by the app’s saved configuration rather than by the request itself. [LOGIN]
- Security (breaking): Uploading a file to SharePoint now always uses the signed-in user’s own permissions, addressing a security concern with application-level uploads. [LOGIN]
- Security: Detailed Microsoft 365 error responses are now shown only to administrators and no longer to other visitors. [LOGIN]
- Security: Added a safeguard so that an access token with application-level permissions can never be handed to the browser. [LOGIN]
- Security: Prevented apps from influencing an outgoing request in a way that could send the website’s credentials to an unintended destination. [LOGIN]
- Security: Hardened the “Licenses” page. License requests to wpo365.com now also verify the server’s SSL certificate, unless “Skip SSL host verification” is checked on the plugin’s “Miscellaneous” configuration page. [LOGIN]
- Security: Fixed an authentication bypass affecting sites that enabled the deprecated option “Use Firebase\JWT instead of phpseclib”. The option has been removed. [LOGIN]
- Security: Fixed an issue that allowed users from tenants that were not allow-listed to sign in to multi-tenant websites. ID tokens are now always checked for the right issuer and audience, and the option “Skip ID token verification” has been removed. [LOGIN]
- Improvement: When “Require login for the Media Folder” is enabled, visitors from one of the “IP addresses freed from authentication” can now also open files in the Media Library without signing in. Developers can use the new filter “wpo365/media/skip_authentication” to grant the same access based on their own rules, e.g. an IP range. [ESSENTIALS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Improvement: The authentication scenarios “Internet (auth. only)” and “Intranet (auth. only)” and the option “Require login for the Media Folder” are now also available with WPO365 | ROLES + ACCESS (requires version 45.0 of that plugin). [ROLES + ACCESS]
- Improvement: Power BI reports that use the optimized mobile layout now switch between the mobile and desktop layout when the browser window is resized. [APPS, INTEGRATE (INTRANET)]
- Change (breaking): “Require login for the Media Folder” is no longer available on WordPress multisite networks due to reliability concerns. [ESSENTIALS, PROFESSIONAL, INTEGRATE, CUSTOMERS, ROLES + ACCESS]
- Fix: License keys are now always saved in the database. Any license keys in your wp-config.php overrides (WPO_OVERRIDES) are copied to the database automatically after updating to version 45.0 and then ignored. [ANY PREMIUM]
- Fix: On websites that use wp-config.php overrides (WPO_OVERRIDES), one-time upgrade tasks no longer run again on every page load. [ANY PREMIUM]
- Fix: After signing in, files from the Media Folder were not always delivered with the configured “Secure Download Mode” (e.g. for LiteSpeed servers) for up to 24 hours. [ESSENTIALS, PROFESSIONAL, INTEGRATE, CUSTOMERS (LOGIN+, SYNC, INTRANET)]
- Fix: “Require login for the Media Folder” now also works when WPO365 | CUSTOMERS is the only premium plugin installed. Until now, files from the Media Folder then failed to load. [CUSTOMERS]
- Fix: Adding an app in the wizard right after adding one “For customers” no longer creates it with “Allow anonymous users to interact with this app” checked. [LOGIN]
- Fix: The SAML 2.0 Service Provider metadata generated by WPO365 now has a valid logout URL (also repaired automatically on sites that saved the malformed default of earlier versions), no longer claims that sign-in requests are signed, and includes the NameID format. [LOGIN]
v44.1
- Fix: Microsoft’s infrastructure is currently incompatible with OpenSSL 3.5 and higher’s new default settings (as shipped with e.g. Debian 13), which could make sign-in or Microsoft Graph requests unexpectedly fail with a “Not Found” error on affected web hosts (e.g. IONOS / Fasthosts) – the plugin now automatically detects this and works around it. [LOGIN, MAILER]
v44.0
- Support for WordPress 7.1. [ALL]
- Feature: Use Copilot Rewrite – a block-editor sidebar tool – to rewrite selected content blocks (paragraphs, headings, lists, quotes, code, and more) with AI assistance, including support for personal and organization-wide rewrite instructions. [ESSENTIALS, PROFESSIONAL, INTEGRATE (LOGIN+, SYNC, INTRANET)] Read more
- Feature: Copilot Chat is a new app that lets visitors have an AI-powered conversation grounded in your organization’s Microsoft 365 / SharePoint content, embeddable anywhere on your WordPress site – with conversation export, retry-on-failure, source attributions, and custom styling support. [APPS, INTEGRATE (INTRANET)] Read more
- Feature: Enable a fully customizable WordPress Login Page at https://{your website}/wpo/Login and optionally hide the classic WordPress page “/wp-login.php”, with an option to hide the username / password form, custom branding, layout (single or split-column), colors, logo, custom title / description text, and translatable labels. [ESSENTIALS, PROFESSIONAL, INTEGRATE (LOGIN+, SYNC, INTRANET)] Read more
- Feature: Added a matching custom “Logged Out” page (‘/wpo/loggedout’) that can be used as the default landing page after sign-out or an SSO sign-in error, without needing a separately configured error page. [ESSENTIALS, PROFESSIONAL, INTEGRATE (LOGIN+, SYNC, INTRANET)]
- Improvement: A fully redesigned, more compact calendar list layout with a day-badge, and a combined start/end time column. Events that span multiple days or last all day are now displayed more clearly, showing correct start / end dates and an “All day event” label instead of confusing time ranges. [LOGIN, APPS, INTEGRATE (INTRANET)] Updated screenshots
- Improvement: The plugin will now – on a daily base – automatically refresh the Microsoft Graph mail connection’s access and refresh token, so outgoing mail no longer risks failing due to a long-expired token after periods of low activity. [LOGIN, MAILER] Consult th
Follow this listing's changes (Atom feed)