WP Cassify
The plugin provides CAS authentication and attribute-based authorization for WordPress.
Choix
Yes — WP Cassify is a safe, well-maintained plugin to use in 2026. It runs on 800+ sites, is rated 5/5 and was last updated 4 days ago, and scores 86/100 on our health check.
- Développé activement — Dernière mise à jour il y a 4 jours
- Testé avec le dernier WordPress (7.1)
- Momentum — downloads up 319.3% vs the previous 30 days
- Petite base d'utilisateurs (800+ installations actives)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where WP Cassify stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| auth | #22 |
| authentication | #61 |
| cas | #2 |
| central | #11 |
| wpCAS | #1 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 5 from 16 reviews
About WP Cassify
From the official readme · v2.6.2Description
If you’re happy with this plugin :
As a reward for my efforts, I would like to receive T-shirts (or other goodies) as gifts from the universities or companies that use it.
My size is L. Best regards.
WP Cassify is a CAS client for WordPress with no phpCAS dependency. It can apply authorization rules based on CAS user attributes and optionally create WordPress accounts on login.
Site Internet
https://wpcassify.wordpress.com/
Development and release environment
The source code and test suites are available on GitHub.
https://github.com/WP-Cassify/wp-cassify-develop
Don’t hesitate to contribute to this project. You can fork it and make pull requests !
Obligations
- PHP 7.0 or later with the cURL and DOM extensions.
- SMTP email notifications require the OpenSSL extension.
Features included
- Manual CAS account marking (all accounts or by role) and inactive-account purge with a configurable period in days (730 by default), preview, optional inclusion of accounts without a login date, content reassignment and resumable batches. Explicit list selection by WordPress username or ID is also available. No scheduled deletion.
- SLO (Single Log Out) support (thanks to dedotombo and me)
- Rules support the
-NCONTAINSoperator (thanks to blandman). -
Optional CAS logout after authentication failure.
-
Tested with Apereo CAS Server version 8.0.1.2
- Compatible with CAS Protocol version 2 and 3
- Optional automatic creation of WordPress accounts on CAS login.
- Synchronize WordPress User metas with CAS User attributes.
- Multivalued CAS attributes can be serialized and stored in custom WordPress user metadata.
- Backup / Restore plugin configuration options settings
- You can choose CAS User attributes you want to populate. Then you can access them via PHP Session.
-
To read the selected CAS user attributes from a theme, use the following example.
<?php if ( isset($GLOBALS['wp-cassify']) ) { print_r( $GLOBALS['wp-cassify']->wp_cassify_get_cas_user_datas() ); } ?> -
Set up WordPress Roles to User according to CAS User attributes.
- If plugin is network activated, you can define User Role Rule scope by blog id.
- Authorization rule editor.
- The CAS redirect whitelist matches paths relative to the WordPress Address. An entry covers its path and subpaths. A lone
/covers only the root. -
If URL bypass is enabled, a WordPress login form can use the configured bypass parameter and value in its redirect URL. This example uses the default parameter and value (thanks to Susan Boland).
<?php $args = array( 'echo' => true, 'remember' => true, 'redirect' => site_url( '/?wp_cassify_bypass=bypass' ), 'form_id' => 'loginform', 'id_username' => 'user_login', 'id_password' => 'user_pass', 'id_remember' => 'rememberme', 'id_submit' => 'wp-submit', 'label_username' => __( 'Username' ), 'label_password' => __( 'Password' ), 'label_remember' => __( 'Remember Me' ), 'label_log_in' => __( 'Log In' ), 'value_username' => '', 'value_remember' => false ); wp_login_form( $args ); ?> -
Receive email notifications when trigger is fired (after user account creation, after user login/logout).
- Define notifications rules based on user attributes values.
- Purge user roles before applying user role rules.
- Define user account expiration rules bases on CAS User attributes.
- Network activation allowed
- You can set Service Logout URL (Needs to have CAS Server with followServiceRedirects option configured).
- Add support for web application hosted behind a reverse proxy. (Thanks to franck86)
- Add custom hooks : wp_cassify_after_cas_authentication, wp_cassify_before_auth_user_wordpress, wp_cassify_before_redirect, wp_cassify_after_redirect. (See online documentation)
- Custom filter to perform custom cas server response parsing. Hook name : wp_cassify_custom_parsing_cas_xml_response (See online documentation)
- Custom shortcode to generate CAS login/logout link into your blog. (See online documentation)
- Debug settings, dump last xml cas server response.
- Optional Gateway Mode attempts automatic sign-in on public pages for visitors who already have a CAS session.
-
Add ‘-IN’ and ‘-NOTIN’ operators to process array attributes values returned from CAS.
When you have :$cas_user_datas['title'] = array( 'Student', 'Professor' );
Then you can use :
(CAS{title} -IN "professor")
Manual account cleanup
Before every purge, make a complete backup of the database and all site files
(uploads, plugins, themes and configuration) and verify that it can be restored.
On multisite, back up the entire network. The backup checkbox is an administrator
acknowledgement: WP Cassify does not create or validate backups.
Cleanup is manual and requires a preview and confirmation. Administrators,
users who can manage options or delete users, the operator and accounts with
application passwords are excluded. Accounts with
live WordPress browser sessions are also excluded from inactivity purges.
The date tracks successful logins, not all activity; authentication performed by third-party systems may not be tracked.
Accounts without a login date are kept unless explicitly included AND their
known CAS marking date is older than the selected period. No historical CAS
login dates are inferred when upgrading.
Alternatively, paste up to 100000 WordPress usernames or numeric WordPress IDs,
one per line, choosing the identifier type explicitly. List selection only deletes
CAS-marked accounts, regardless of login dates or active browser sessions.
The preview reports duplicates, unknown identifiers, local and protected accounts.
Deletion requires the same content recipient, backup acknowledgement and explicit
confirmation as an inactivity purge, and supports resumable batches. CAS server
identities are not deleted; automatic account creation may recreate the WordPress
account on a later CAS login.
Content ownership is transferred in small steps and checked before deletion.
An interruption can leave partial transfers or removed site memberships; resume
or inspect the operation before starting another. Other plugins can delete their
own data through WordPress deletion hooks. Recreating a CAS account does not
restore the old WordPress identity or its data.
Task results show the date, operation type and counts of completed, skipped and
failed accounts. Previews are not retained in this history. Clearing a task keeps
its result summary and does not undo completed changes. Detailed execution events
are used internally for recovery until the task is cleared.
The database lock serializes Cassify requests only. Pause imports and other
writers during cleanup. All network sites are checked again before global
account deletion. During the final core deletion, attempts to delete posts,
attachments or links through the guarded WordPress APIs stop the operation.
This does not isolate concurrent authentication, direct SQL, direct file deletion
or arbitrary third-party hook side effects. Use a maintenance window and a
verified backup; this tool cannot guarantee preservation of third-party data.
The tools require WordPress 4.9+ and database connection-owned named locks;
unsupported locking fails closed. Multi-network installations are excluded.
No purge is scheduled or triggered by an upgrade. Inactivity is measured in
24-hour days (730 by default); a login exactly at the cutoff is retained.
Marking accounts manually changes their future purge eligibility and does not
prove their CAS identity. For accounts without a login date, the grace period
starts when their CAS marking date is first recorded.
Upgrading from 2.5.0
Before upgrading, check which URLs are exempt from CAS authentication and which rules grant access to multisite subsites.
- Convert substring or query-based whitelist entries to explicit paths relative to the WordPress Address. A query-based exception has no automatic equivalent. Remove it or provide a dedicated exempt path.
- On multisite, existing memberships are retained. To grant new memberships after CAS validation, use a CAS role rule scoped to a specific site or select
(0) ALL BLOGSin the network settings to cover every site. Review sites that previously relied on a network login cookie alone to grant membership.
Installation
Cette section décrit comment installer le plugin et le faire fonctionner.
ex.
- Téléchargez les fichiers du plug-in dans le répertoire
/wp-content/plugins/wp-cassifyou installez directement le plugin via l'écran des plugins WordPress. - Activez le plugin via l'écran "Plugins" dans WordPress
- Open Settings → WP Cassify. For a network-activated plugin, open Network Admin → Settings → WP Cassify.
Journal de modifications
Before upgrading, review CAS whitelist paths and multisite role rules. For mandatory Single Logout, schedule a fresh CAS login for legacy sessions whose PHP state has expired.
2.6.2
- REST API: release the PHP session lock before dispatch so concurrent requests sharing a CAS session can run in parallel. Thanks to rferguson10 for reporting the issue.
2.6.1
- TLS: hide the settings warning when CAS certificate verification is enabled.
2.6.0
- CAS login: preserve service URLs with query strings in enforce mode, ignore unrelated ticket parameters, fix direct login, and fix Gateway Mode on subdirectory installations.
- CAS validation: send only well-formed ST- tickets, encode validation parameters separately, and release the PHP session lock while waiting for CAS. New installs time out after 10 seconds with HTTP 504. Upgrades keep the previous cURL timeout. Override it with the wp_cassify_validation_timeout filter.
- Access rules: preserve the effective ALLOW/DENY precedence of saved settings on upgrade. Whitelist entries now match paths relative to the WordPress Address. Convert old substring or query-based exceptions to explicit paths. A lone / covers only the root.
- Multisite: retain existing roles when role purge is enabled but no replacement rule matches, and require explicit CAS role rules to grant new memberships. Review those rules before upgrading sites that relied on automatic membership. After a denied CAS membership attempt, reopen the original URL after 30 seconds to try again.
- Single Logout: revoke only the WordPress session associated with the CAS ticket. Recognized legacy sessions renew once. If the PHP session has expired, sign out locally and sign back in through CAS.
- Account cleanup: delete selected CAS accounts by username or ID, with a preview and content reassignment. Explicit selection can include active accounts, while privileged accounts and accounts with application passwords remain protected. Inactivity jobs started in 2.5.0 can resume.
- Compatibility: fix PHP 8 handling of legacy expiration dates and malformed CAS responses or redirect parameters.
- TLS: warn administrators when CAS certificate verification is disabled. Existing TLS settings are preserved.
2.5.0
- Add: manual tools to mark CAS accounts and purge inactive CAS accounts, including WordPress multisite support. Includes preview and confirmation, protected-account exclusions, content reassignment, resumable processing and simple task results. Backup acknowledgement is required before purging.
- Add: successful login tracking to determine CAS account inactivity. No automatic purge or reconstruction of historical login dates.
2.4.9
- Fix: avoid a PHP 8 TypeError when logging out from a different multisite child site than the CAS login site while SLO is enabled.
2.4.8
- Fix: preserve existing multisite roles when authenticating users on archived child blogs.
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best WP Cassify alternatives
All auth plugins →FAQ
WP Cassify: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is WP Cassify free?
Yes. WP Cassify is free to download and use from the official WordPress.org plugin directory.
Is WP Cassify safe to use in 2026?
Yes — WP Cassify is a safe, well-maintained plugin to use in 2026. It runs on 800+ sites, is rated 5/5 and was last updated 4 days ago, and scores 86/100 on our health check.
How many websites use WP Cassify?
WP Cassify is active on 800+ WordPress websites and has been downloaded 45,041 times since it launched in February 2016. It was downloaded 2,650 times in the last 30 days.
Does WP Cassify work with WordPress 7.1?
Yes. The developer has tested WP Cassify up to WordPress 7.1.5, the latest release. It requires WordPress 4.8 or newer.
What PHP version does WP Cassify need?
WP Cassify requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WP Cassify last updated?
The latest version, 2.6.2, was released on November 25, 2026 (4 days ago).
Who makes WP Cassify?
WP Cassify is developed and maintained by Alain-Aymerick FRANCOIS.
What are the best alternatives to WP Cassify?
The most popular alternatives to WP Cassify are authLdap (4K+ installs), WP BASIC Auth (3K+ installs) and WP Cron HTTP Auth (1K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
