This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Connect social accounts issue

Oct 18th, 2011, 07:24 AM

Steps to reproduce:
1. User signin in to first account and presses to connect to Facebook
2. User signin in to second account and presses to connect to the same Facebook account
3. User signin by facebook
4. User receives error "Your sign in information was incorrect. Please try again or sign up"

Reason: every time you connect the same Facebook account system creates new record in "UserConnection" table. The difference is only "userId" column

Proposal: every time you connect the same Facebook account prompt to user a message "This Facebook account is already connected. Do you want to reconnect it ?". After confirmation update userId field.