Need to disable multiple sessions for one user

I am new to shiny proxy, I have a requirement where i need to restrict one user to only one session. For example “userA” should not be able to login through multiple browser tabs or multiple browsers, the default Shiny proxy behavior is to allow users to login from many different browsers creating multiple pods.

Is it possible to ensure that one user is only able to log in from one browser? If second session is opened for the same user, either one of the below should happen.

  1. It closes the first session or
  2. The second session gets an error “user already logged in somewhere else”.