I've seen a couple of discussions on it. Most recommend using a webpage for landing and then redirecting with a "deep link" to your app.
https://github.com/supabase/supabase/discussions/7093
I have a similar problem with my webapp in that the return opens a new window. I've gone with the otp token approach for confirmation, where they get the email and just copy the code back over to the app.