Closed (duplicate)
Project:
simpleSAMLphp Authentication
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2012 at 20:30 UTC
Updated:
8 Feb 2013 at 18:29 UTC
If a user has an account with a local Drupal login.
Then separately creates an SSO account on your IdP.
And usernames match.
The user_external_load() function will fail and they will find themselves hitting user_external_login_register() with an existing username with no authmap entry.
This will trigger a registration attempt for an existing user and error out the site with an integrity constraint, just for them, as nearly WSOD.
This violation did not exist in D6, and actually registered a new user on top of the old user with the same username.
The authmap creation discussed here #1280930: Create authmap entries for pre-existing Drupal users is highly related.
Comments
Comment #1
doublejosh commentedOne solution is to give all users an authmap for simpleSAMLphp_auth.
Creating an admin options over here: http://drupal.org/node/1280930#comment-6124932
Comment #2
colanMarking this as a duplicate of that one. When that's resolved, it'll fix this.