Show all logged in sessions and allow to sign out from specific ones in AWS Cognito

Viewed 8

Does AWS Cognito have a feature that helps a User list down which all devices are signed in on their own account?
And allows them to sign out of some specific devices.

I'm not talking about the following:

  1. Logout Endpoint: Here, a User basically signs out of one device. (access_token is not required) So, their tokens on a particular device/client are invalidated, but the other devices are active.
  2. GlobalSignOut: Here, all the Refresh Tokens of a User are invalidated. But the other tokens remain active until expiry.
  3. Revoke Endpoint: Here, we supply a Refresh Token is supplied, it is invalidated and all the access_tokens generated from it are also invalidated.

Basically, what I need is something that lists all the active RefreshTokens and for what Device it was generated, so that the User can call Revoke on the particular ones they need.

0 Answers
Related