Download - Social login scenarios
![Page 2: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/2.jpg)
Company Confidential 2
• Social login is an alternative to traditional login via email address. To integrate social login seamlessly, you must consider multiple scenarios.
• Here are the two important scenarios that must be covered:– User has an email account, but attempts a Facebook
sign in.– User has signed in via Facebook, but tries to login or
sign up using email address.
• This presentation will cover these important scenarios. Look at the presentation slide by slide.
Social Login has lots of scenarios
![Page 3: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/3.jpg)
Company Confidential 3
Scenario 1: User has an email account, but now attempts a Facebook sign in
Do not create a new account.
Merge the Facebook sign in with the existing account.
![Page 4: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/4.jpg)
Company Confidential 4
Log in with Facebook
Login success?
![Page 5: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/5.jpg)
Company Confidential 5
Log in with Facebook
Login success?
Do nothing. Show failure and close the window.
No
![Page 6: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/6.jpg)
Company Confidential 6
Log in with Facebook
Login success?
Do nothing. Show failure and close the window.
No Email Addr matches an
existing email-only account?
Yes
![Page 7: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/7.jpg)
Company Confidential 7
Log in with Facebook
Login success?
Do nothing. Show failure and close the window.
No Email Addr matches an
existing email-only account?
Yes
Create a new social account
No
![Page 8: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/8.jpg)
Company Confidential 8
Log in with Facebook
Login success?
Do nothing. Show failure and close the window.
No Email Addr matches an
existing email-only account?
Merged Email & Social
Account?
Yes
Yes
Create a new social account
No
![Page 9: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/9.jpg)
Company Confidential 9
Log in with Facebook
Login success?
Do nothing. Show failure and close the window.
No Email Addr matches an
existing email-only account?
Merged Email & Social
Account?
Yes
Yes Log person
in
Yes
Create a new social account
No
![Page 10: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/10.jpg)
Company Confidential 10
Log in with Facebook
Login success?
Do nothing. Show failure and close the window.
No Email Addr matches an
existing email-only account?
Ask person to log in with email address
Merged Email & Social
Account?
Yes
Yes Log person
in
No
Yes
Create a new social account
No
![Page 11: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/11.jpg)
Company Confidential 11
Log in with Facebook
Login success?
Do nothing. Show failure and close the window.
No Email Addr matches an
existing email-only account?
Ask person to log in with email address
Login successful?
Merged Email & Social
Account?
Yes
Yes Log person
in
No
Yes
Create a new social account
No
![Page 12: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/12.jpg)
Company Confidential 12
Log in with Facebook
Login success?
Do nothing. Show failure and close the window.
No Email Addr matches an
existing email-only account?
Ask person to log in with email address
Login successful?
Merge email & social
accounts for the future.
Merged Email & Social
Account?
Yes
Yes Log person
in
No
Yes
Yes
Create a new social account
No
![Page 13: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/13.jpg)
Company Confidential 13
Log in with Facebook
Login success?
Do nothing. Show failure and close the window.
No Email Addr matches an
existing email-only account?
Ask person to log in with email address
Login successful?
Merge email & social
accounts for the future.
Merged Email & Social
Account?
Yes
Yes Log person
in
No
Yes
Show a message saying social login not
possible YesNo
Create a new social account
No
End of Scenario 1
![Page 14: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/14.jpg)
Company Confidential 14
Scenario 2: User has created an account via Facebook, now attempts email sign in or sign up
![Page 15: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/15.jpg)
Company Confidential 15
Login or signup via
Social Account?
![Page 16: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/16.jpg)
Company Confidential 16
Login or signup via
Social Account?
Show a message saying this is a social login account and person
must login via Facebook
Yes
![Page 17: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/17.jpg)
Company Confidential 17
Login or signup via
Social Account?
Log person in normallyShow a message saying this is a social login account and person
must login via Facebook
No Yes
End of Scenario 2
![Page 18: Social login scenarios](https://reader036.vdocuments.site/reader036/viewer/2022082803/541637168d7f72356c8b4922/html5/thumbnails/18.jpg)
Company Confidential 18
Check out a ShopSocially Social Login reference implementation that shows handling of these scenarios athttp://social-login-demo.appspot.com/
Web: http://shopsocially.com
Contact: [email protected]