mirror of
https://github.com/actualbudget/actual.git
synced 2026-11-09 10:45:04 -06:00
The login page used the web view's own origin (capacitor://localhost) as the OpenID return URL and then navigated the web view to the provider, so the callback had nowhere to land. Register an `actualbudget://` URL scheme in both native shells, use it as the return URL inside the native apps, and route the `appUrlOpen` callback from @capacitor/app to the existing /openid-cb page, which writes the token and finishes the login. Navigating the web view to the provider is what hands the sign-in to the system browser: Capacitor opens any top-level navigation to an outside host with the OS and keeps the web view on the login page. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>