iOS AWS Cognito Authentication with Multiple Devices
<p>We are working on an iOS Application that has been using Unauthenticated Access to Cognito. We are now adding an Identity Provider: Cognito User Pools.</p>

<p>We are seeing that when Device A does the login process, from Unauthenticated to Authenticated, the Cognito ID stays the same (as expected). Then when Device B logins in, Unauthenticated to Authenticated. We would expect the user to get the Authenticated Cognito ID from Device A, this is not the case.</p>

<p>Even so, perhaps they all transitioned to Cognito ID from Device A? That also doesn't seem to be the case. Both devices have separate Cognito ID's but are using the same user account from a Cognito User Pools. But neither share a Cognito ID, which seems to go against what the documentation describes.</p>

<p>Can someone confirm what we are doing is a valid workflow, and perhaps what we might be doing wrong? </p>

<p>We are storing the Cognito ID in a back end server to tie that data to a user, but with the Cognito ID's changing unexpectedly, its hard to come up with a good solution.</p>