Back to all

How to remove web page view bar

I have configured my Google OAuth links to use AppBrowser mode to avoid the "Access Blocked" error from Google.
The login works, but after the user successfully logs in, the app does not automatically return to the internal WebView. Instead, it stays in the AppBrowser view, showing my website's URL in a bar at the top of the screen.
Can you help me with the following?
How can I force the AppBrowser to automatically close and return to the Internal WebView once the redirect back to my domain (lovable.app) happens?
Is there a specific Regex rule I should use to ensure the redirect URL is caught and opened "Internally" instead of staying in the "AppBrowser"?
Is it possible to use median.window.close() via JavaScript on my "Login Success" page to kill that top bar?
Thank you!