alternative to email as key for user lookup
matt_paz - May 27, 2009 - 21:26
| Project: | Shibboleth authentication |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Use case: The same email address is being used for two different shib accounts -- or have one shib and one regular drupal account with same email ... but should have two different users. Wouldn't it be better to add a column to the users table to store some "shib_key" (HTTP_SHIB_IDENTITY_PROVIDER + HTTP_PERSISTENT_ID) and use that as the value to lookup against?

#1
[Sorry for not responding earlier]
It's not possible to register two users with the same email address.
We address this scenario with supporting account linking (see: #508410: Implement a mapping layer between Shib and Drupal), which will be implemented in 4.x. (In fact it's already done but not released yet.)
#2
Account linking is a great idea ... saw that in the Pamela InfoCard Module. Thanks for the follow up ... looking forward to learning more.