r/tauri • • 4d ago

Need some help with an embedded browser

I am trying to add an embedded browser with my app, and I am trying to keep it as light as possible. I am able to get adblock and general web navigation, but I am having a hard time figuring out how to handle actual Captcha and authorization type web requests without using a full on chromium/firefox browser ILO just a web "window" for lack of a better word with Tauri. Have any of you come across this and have any suggestions on how to do this without packaging or downloading a full chromium browser? My understanding is that with an embedded tauri webview browser I am literally just creating that, a viewer for a website. I may just need some education or some guideance to point me in the right direction to understanding the difference.

thanks.

1 Upvotes

3 comments sorted by

3

u/TachyonFactory 4d ago

Most sites block logins inside embedded webviews for security reasons, and they also trigger more CAPTCHAs than a normal browser. The usual approach in Tauri is to open the login page in the user's regular browser and send them back to your app with a deep link or local callback, keeping the embedded webview just for regular browsing.

1

u/wyonutrition 3d ago

yeah that makes sense, i just really like not leaving the app window, but that's just my tism.