Skip to content

[auth] refactor: auth to use default browser#358

Draft
M4rcoToni wants to merge 2 commits into
expo:mainfrom
M4rcoToni:refactor/auth-default-browser
Draft

[auth] refactor: auth to use default browser#358
M4rcoToni wants to merge 2 commits into
expo:mainfrom
M4rcoToni:refactor/auth-default-browser

Conversation

@M4rcoToni

Copy link
Copy Markdown

Why

I was trying to login but the BrowserWindow window function of electron use always Safari, but my default browser is Arc.
Maybe be this is a common issue with mac users.

How

I replaced the browser approach with Linking.openURL()... still working on it

Test Plan

  1. build and run the app
  2. open Settings and trigger the login flow
  3. verify the auth URL opens in your default browser (not Safari / an embedded window)
  4. complete sign-in in the browser
  5. verify the app receives the callback and completes login successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant