I am designing an application that allows user to register with an OpenId (e.g. Google), which will be the "primary" id used for logging in. The application will also allow the user to "link" other accounts (e.g. Facebook) to take advantage of extra features.
While I am pretty clear on the back-end design that will store the relationship between multiple accounts (usually just storing an extra userId-openId-openIdSource mapping), I am wondering how to automate the process of actual login. The sequence I am looking for:
Login with "primary" account (e.g. Google).
Auto-login the user into their "linked" accounts (e.g. Facebook) <--- how??
If the user does not have an open session with the 3rd party OpenId providers (e.g. Facebook), then my understanding is that she would have to login to the "linked" accounts every time after completing step 1. Is there a way to automate that (short of saving their password)? Or the manual login for step 2 is expected and accepted?