React SDK - logout from all devices

Ready to post? :mag: First, try searching for your answer.
hey all,

We are using 2FA and refresh tokens and we would like to know:

  1. what is the recommended way to logout a user from all known devices? I did not find any option in the SDK to do that.
  2. is there any way to get a list of all known devices for a user via the SDK?

Thanks!

Hi,
You could look into using the Management API’s Logout endpoint…it will ensure that users are logged out of all sessions and need to re-authenticate