amazon-archives / amazon-cognito-identity-js

Amazon Cognito Identity SDK for JavaScript
Other
985 stars 454 forks source link

Cognito single user multiple sessions #640

Closed sateeshyandapalli-saven closed 6 years ago

sateeshyandapalli-saven commented 6 years ago

Hi,

can single user handle multiple sessions in aws cognito?

itrestian commented 6 years ago

Yes, multiple sessions are possible from a service perspective since the service can issue tokens to the same user multiple times. However, you would need to handle that yourself from a client perspective, this library only has 1 internal session containing tokens.