Hi All,
I am developing a community website and I have been working with the Gigya Socialize to allow users to login through facebook.
I am running into trouble because I have some limitations for this community and I need to figure out a solution.
The community I am making is based around college students. I only want to allow college students to sign up for accounts.
I have drupal configured to only allow email addresses with a .edu extension in order to ensure that they are in college.
I also have drupal configured to require email validation, to ensure that they are entering in the correct email.
Everything works fine, but when I configure gigya socialize and get it all setup the rules & filters go out the window.
If a user logs in through Facebook, then when they create the drupal account, they can enter in any email they want for the account.
How can I make the Gigya Socialize forms for creating a new user, keep the same standards as the regular drupal forms.
I need to ensure that the email addresses being used to create drupal accounts follow the same rules as the regular drupal login forms.
I also want them to validate this email when they create their account (even after they have verified their account with facebook).
I can see in the gigya settings that allowing socialize for logins overrides this. How can this be fixed?
I really want to allow the students to use facebook to authenticate, but when they create their actual accounts on drupal, they must have information that is aligned with the particular rules that I have established in drupal.
Has anyone else found a work-around for this problem? I did some searches and did not find the answers that I was looking for.
Isnt there a way to just do some javascript validation on the drupal socialize user creation forms?
Also, captcha no longer needs to be entered once they are validated through socialize. This is also a problem.
I have to believe that the problems are linked together, because it appears that once they are logged into socialize that the user creating the account can bypass all other validation & rules for account creation. It is overriding everything. There has to be a way that I can still enforce the rules for socialize.
If anyone knows the answer or can point me in the right direction it would be greatly appreciated.
Thanks in advance.
Edited by WorldFallz - moved to appropriate forum.
Comments
I'm not sure of an easy
I'm not sure of an easy solution... but here may be a work-around.
First thing is to use the Email Change Confirmation module. Hopefully that will perform an email validation when the user changes their email or enters it after registering via facebook.
If that module alone doesn't follow your user settings to restrict to .edu emails... then you may have to use the Rules module to create a rule that triggers on a profile change and looks at the email. If the email isn't a .edu email then put the user in a moderated (blocked) status.
It's not pretty but it may get the job done.
thanks for the reply. I am
thanks for the reply. I am checking out the 2 modules you suggested to see if I can find a work around.
I do see this being an issue though. I have seen other threads that talk about the fact that the legal/terms of agreement are also null and void when allowing users to connect with gigya socialize. this is another problem for me. I am wondering what the problem is that it skips all of the basic drupal core configurations when logged into socialize. it is almost as though gigya has its own registration process that completely bypasses the regular drupal registrations.
does anyone know if the legal/terms issue was fixed for gigya and if so, how can I fix this problem for the rules/registration in drupal.