Cloudbridge Mattermost
Sign in to WordPress with Mattermost and send WordPress event notifications to a Mattermost channel.
Install in
Use Mattermost to sign in to WordPress or register a WordPress account. Set up a Mattermost incoming webhook to get notifications for these events.
- Successful and failed sign-ins, including attempts by unknown users
- Password resets
- User creation, updates, and deletion
- Changes to the site administrator’s email address
- Plugin activation, deactivation, and removal
Choose the channel, set the bot name, and add mentions in the notification settings.
- Requires PHP 8.1 or later and was tested on PHP 8.1 through 8.5.
- This plugin optionally makes use of the
mb_PHP functions - This plugin may create entries in your PHP error log (if active)
- This plugin contains no JavaScript
- This plugin contains no tracking code. See below for the data used by notifications and Mattermost sign-in.
Credits
The Cloudbridge Mattermost WordPress Plugin was written by Joaquim Homrighausen while converting caffeine into code.
Cloudbridge Mattermost is sponsored by WebbPlatsen i Sverige AB, Stockholm, Sweden.
Commercial support and customizations for this plugin is available from WebbPlatsen i Sverige AB in Stockholm, Sweden.
If you find this plugin useful, the author is happy to receive a donation, good review, or just a kind word.
If there is something you feel to be missing from this plugin, or if you have found a problem with the code or a feature, please do not hesitate to reach out to support@webbplatsen.se.
This plugin can also be downloaded from code.webbplatsen.net and GitHub
Written by Joobi from the project's own listing. See the source page
2.3.0
- Verified with Mattermost 8 through 12 and WordPress 7.1.x.
- Add a local login verification setting and support required two-factor verification with Cloudbridge 2FA 2.1.0 and external login API 2
- Keep the registered Mattermost callback URL and complete OAuth through the WordPress login endpoint
- Require administrators to save the OAuth verification policy after upgrading, and restart any sign-ins already in progress
- Check account matching, allowed roles, provider settings and verification expiry again before starting a WordPress session
- Require PHP 8.1 or later and update the bundled HTTP, OAuth, and CIDR libraries
- Show Mattermost registration on the login form when it is enabled and public WordPress registration is disabled
- Warn about unencrypted HTTP OAuth2 and webhook URLs without preventing their use
- Require sign-ins to finish in the same browser and verify the Mattermost response before logging in
- Keep account details and OAuth secrets out of callback logs
- Limit failed-sign-in notifications and prevent account details from triggering mentions
- Set a five-second webhook timeout and report failed deliveries
- Fix duplicate password-change notifications, private Mattermost URL validation, and transient cleanup on uninstall
- Require the WordPress
manage_optionscapability to view or save plugin settings
2.2.3
- Verified with Mattermost version 8-11 and WordPress 6.9.x
- Notifications are no longer sent for non‑standard login errors when all “Unsuccessful login” roles are unchecked (#2, itsumonotakumi)
- Fix override handling for Mattermost login/register button filter output
- Hardened OAuth2 post-login redirects to same-host only; external redirect_to values now fall back to admin/home
- Updated Composer dependencies (guzzlehttp/*, league/oauth2-client, symfony/deprecation-contracts) and removed paragonie/random_compat
2.2.2
- Verified with Mattermost 8.x, 9.x, 10.x and WordPress 6.8.x
- Thanks to Nelson (castillo-n) for various fixes (PR#1)
- Added missing property
$cbmm_site_labelto class - Removed use of
FILTER_SANITIZE_STRING(deprecated in PHP 8.1) - Removed use of uninitialized variables (exception handling)
2.2.1
- Refactor code to prevent warnings in PHP log while checking roles
- Verified with Mattermost 8.x, 9.x and WordPress 6.5.x
- Updated various dependencies
2.2.0
- Improved support for Mattermost accounts with 2FA/MFA enabled
- Added possibility to register new users via Mattermost
- Added possibility to register new users only via Mattermost
- Verified with Mattermost 7.x and WordPress 6.x
- Updated various dependencies
2.1.0
- Verified with WordPress 5.8
- Support for Cloudflare
- Minor fixes
2.0.0
- Added OAuth2 support, you can now login to WordPress via Mattermost!
- Changed emoji for admin link to a more suitable one (:link:)
1.1.0
- Moved notifications to a separate tab
- Added notifications for password reset
- Added notification for plugin activation
- Added notification for plugin deactivation
- Added notification for plugin uninstallation
- Added notification for new/edited user
- Added notification for deleted user
- Added general notice emoji (:bell:)
- Added setting to force notifications to be en_US locale (English)
- Login/Login failure hooks are only hooked if webhook URL has been configured
- Corrected locale display/handling of some strings
- Updated donate link
1.0.0
- Initial release
Follow this listing's changes (Atom feed)