Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have module setup correctly and it is authenticated fine. I have some existing drupal users and I only want them to authenticate to site. These users have 'Enable this user to leverage SAML authentication' checked. I have setting to disable auto register false. And I have utilized hook function 'hook_simplesamphp_auth_account_authname_alter' and 'hook_simplesamlphp_auth_existing_user' to map it with saml user. But none of these hook gets hit when 'Register users' option is false. Once I enable it, only hook_simplesamlphp_auth_existing_user works. Am I missing something?
Comments
Comment #2
dakku CreditAttribution: dakku as a volunteer commented