This is a feature request to have the RPX module act much like the Facebook Connect module does when it handles existing users attempting to connect to their account using RPX for the first time.
RPX should essentially check for the existence of a Drupal account for a user before making a new one. (Like the Facebook Connect module does)
Facebook Connect will check for the existence of an account when a person tries to set one up via the Facebook Login... and if it exists, the person gets a message telling them that there is already an account with that name... please log in to your existing account and link it to your Facebook account here (link) or, if this is to be a new account, please choose a different login name. This should help prevent duplicate Drupal accounts.
Facebook Connect's link at the signup stage is a login link that redirects directly to their Facebook Settings in the user's account profile. (If login is successful)
The link follows the RPX Signup process, and if a user is able to login to an existing account, then Facebook connect will then connect to their account. If the user is unable to log into an existing account, then a new account is created.
It would be great if RPX could handle this the same way. Giving the existing users the ability to connect their accounts to their RPX logins was essential, and is a great feature. This just extends that idea and strealines the initial process a bit more.
Comments
Comment #1
gregarios commentedOoops, I meant "The link follows the Facebook Connect's signup process" in this sentence.
Comment #2
nrambeck commentedThanks for the suggestions. I added the following text to the registration error page when a user attempts to use RPX and their email is already registered on the site.
"Someone has already registered that e-mail address. If you already have an account on this site, you must login with your username and password then you can link your Google account by clicking the 3rd party identities tab on your profile page."
The word login links the login page with a destination argument that will redirect them to the RPX management page once they login.
Comment #3
gregarios commentedCool! I assume it will substitute the correct attempted 3rd party account name instead of "Google account" each time? :-)
Comment #4
gregarios commentedDude! This new version does all this and more! I walked it though the paces, starting a new user with unknown email addy and everything... this is very complete. Works awesome! Add my icons from this issue and release it as a v1.3 if there are no big complaints from anyone. :-)
Comment #6
justinlevi commentedAlthough I'm seeing the following text when using google to register an account that I've already registered with previously:
"Someone has already registered that e-mail address. If you already have an account on this site, you must login with your username and password then you can link your Google account by clicking the 3rd party identities tab on your profile page."
I feel like this is not optimal UI. Is there a way we could automatically log in the user to the existing Drupal user account instead of requiring them to login. I feel pretty confident that a user trying to register with the same google account is actually trying to login.