Auth0 SPA in Embedded Browser

I am using the JS Auth0 SPA.

When I use it in normal web browser, the user is redirected in the same windows browser and everything is fine.

When I call my SPA from inside an embedded UI WebView on IOS using Capacitor it automatically opens a new browser window and leaves the application.

I would like Auth0 not to leave the embedded browser so I can keep all my call back, etcs server side.

Thank you,
Marty

I have also facing the same issue. anyone please help us.