Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 24.92 KB
MD5: 58aee2be08d680974d150182aefea4c0
SHA-1: 66224312aac21bc080735631bec210088cbedd4f
SHA-256: 3432f9031b95f26e7516d552b392378246d3b2f04af04d5495550131a6beb8bf
Download zip 36.72 KB
MD5: a33a9b19d4fd26d8de9c303de9822d8f
SHA-1: 093c716dfc5e8fdfbfb84f6c56421fe9fe5ed6d5
SHA-256: 58fd72c3b831a0b8794b13b7541a7f0b26671d1821b81e5ac8da5b83c928458e

Release notes

First release of the 6.0.x branch. Adds Drupal 10 and 11 support and fixes several errors that stopped Salesforce login and logout from working.

Requirements
- Drupal 10 or 11 (Drupal 8 and 9 are no longer supported; use the 5.0.x branch for those).

Important: after updating
- Run database updates (drush updb) and clear caches (drush cr).
- The module's permission is renamed from "administer netauth" to "administer salesforce_auth". The database update moves existing roles to the new permission automatically.

Fixes
- Logout no longer fails while the module is enabled. Logging out now also revokes the Salesforce access token.
- The "Log in with Salesforce" button now appears on the login form again.
- The Salesforce callback page (/salesforce/callback) works again. It previously failed because of a removed service, a misspelled method and an invalid return value.
- Fixed classes declared in the wrong namespace, which stopped Salesforce query and object classes from loading.
- Replaced code removed in Drupal 9 and later (db_delete, db_table_exists, Unicode::strlen, REQUEST_TIME, drupal_set_message, drupal_goto, variable_get).
- Replaced user_load_by_mail(), deprecated in Drupal 11.4.
- Fixed PHP 8.2–8.4 deprecation warnings.
- Removed the unused hook_init() and invalid library entries.
- Corrected the error message for an invalid login URL on the settings form.

Issues fixed
- #3297992: Automated Drupal 10 compatibility fixes

Created by: vinektiwari
Created on: 10 Oct 2026 at 19:40 UTC
Last updated: 10 Oct 2026 at 19:41 UTC
Bug fixes

Other releases