Skip to content

Cognito users login time

0

Hi,

How to get a user last login and logout time for multiple users in the pool of cognito

asked 2 years ago679 views

1 Answer
0

Hello.

If it's the user's login time, you can see it by searching for the "InitiateAuth" event on CloudTrail.
https://docs.aws.amazon.com/cognito/latest/developerguide/monitoring.html

If you are using Cognito API, I think "GlobalSignOut" is recorded in CloudTrail.
https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-the-refresh-token.html#amazon-cognito-identity-user-pools-revoking-all-tokens-for-user

EXPERT

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.