The prototype app implemented in Python and Flask. It provides functionality to merge user multiple accounts, while they chose different way to log in.
The description is provided in the blog post available here: http://www.vertabelo.com/blog/technical-articles/how-to-store-authentication-data-in-a-database-part-5-merging-multiple-user-accounts
The application is based on the provided below database design:
The prototype app will enable user:
- Create an account in the app.
- Log in via a created account or other services (Facebook, Google, LinkedIn, Github).
- Add some content that is associated with this account. In this case, it is a list of todo items.
- Connect other social media accounts. When logged in, the user can manually add other social accounts to their profile. Once these accounts are added, the same user account will be loaded no matter which login is used.
Download bootstrap and jquery via bower:
bower install
To run the application type:
python app.py