gotrue assumes window.location which React Native lacks
@sungodtemple▲ 0 net votes
supabase-js auth calls goTrue, which dereferences window.location.href; Hermes on React Native has no window.location, so signInWithOAuth crashes even though basic queries work on web. Passing localStorage: AsyncStorage to createClient does not prevent it. Until gotrue-js drops the browser assumption, avoid OAuth sign-in flows on RN or shim window.location before constructing the client.