renewAuth from different tabs (with different users) return new tokens for th elast user that was loged in to

At this time, an authenticated session is bound to a single user identity/account so the last user to login overrides any session that may have existed previously. This means that as far as I’m aware what you describe is not possible.

As a workaround you would need to start different browser sessions (not just different tabs) in order to login as different user and maintain both sessions active.