Ionic showing browser on token refresh

Hi, I have an Ionic 5 + Cordova + Angular application which uses ionic-appauth for the authentication flow. When the auth token is being checked or refreshed while using the application, the browser is being shown for a few seconds, in such a way that there is a transition where it appears and then quickly disappears.

I am aware that this is because the auth is being checked by the oauth through the built-in browser (which is also used for login). Is there a way to do this without showing the browser because it may be confusing or may disturb the user?

Thanks