Scenario:
- You are using single sign on but require the user to have emails (Facebook does not return email) or require other fields (eg. accept terms of use).
- You allow users to specify another email besides the one that is returned by the single sign on service (SSOS)
- If the user changes that email, you want them to validate it (you send an email to them with a link to activate their account), but if they don't change it (meaning they use the same email that is returned by the SSOS), then the account will be automatically activated
Requisites
- Make sure you got single sign on working (you're able to read responses and stuff)
When the user finally has all their stuff filled up and submits the form, if they're on single sign on, then the user will be activated based on the comparison between the email_was and the current email they're trying to save. If they're different, then they're not activated and the user observer sends out the activation mail. If they are the same email, then the account is activated and they have to do one less step. :)
If you have any comments or suggestions please let me know.
No comments:
Post a Comment