How to try out web application using multiple logins at once

I am developing a web application that uses JWT tokens to authenticate users which have different roles. In order to test the application I would need to switch between different user's accounts, ideally without switching browser. Is it possible to constrain session data to a tab so that I can login to my application as different users from different tabs using the same browser?
Subscribe to JWT