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.
If an email exists in Drupal Simple SAML should use that user since emails are unique, however Simple SAML creates a new user since existing users have no authmap entry and the username is different.
This is related to the attached issue, however for a different version.
Patch incoming.
Comment | File | Size | Author |
---|---|---|---|
#3 | allow-modules-to-load-ext-user-2704225-3.patch | 849 bytes | roi |
#2 | check-email-after-username-2704225-2.patch | 584 bytes | nicxvan |
Comments
Comment #2
nicxvan CreditAttribution: nicxvan as a volunteer commentedChecks for account by email if not found by username.
Comment #3
roi CreditAttribution: roi as a volunteer and commentedEnabling email is good but not the only field by which we should use SAML. In my site there's a need to retrieve some very specific substring from the SAML auth and look for it on one of the existing user's fields. My patch allows other modules to do that, and it also lets you use email, of course.