Hi @choe132,
Welcome to the Community!
You could use the loginWithPopup method instead of loginWithRedirect? This means the page/tab never goes to the login. Otherwise you are kind of at the mercy of the browser. Checkout this thread for more info: