supabase / supabase-js

An isomorphic Javascript client for Supabase. Query your Supabase database, subscribe to realtime events, upload and download files, browse typescript examples, invoke postgres functions via rpc, invoke supabase edge functions, query pgvector.
https://supabase.com
MIT License
2.99k stars 232 forks source link

Supabase Google Auth and Magic Links not working on Mobile #853

Open fuaditrockz opened 10 months ago

fuaditrockz commented 10 months ago

Discussed in https://github.com/orgs/supabase/discussions/13968

Originally posted by **fdarkaou** April 25, 2023 Hi all, I have a VueJS frontend using Supabase for authentication. Users can either log in using Google Auth or through a Magic Link - on desktop all of this works perfectly. On mobile however, neither option seems to work. Users are redirected to the landing page and are not being logged in. What could be the reason for this? When I simulate a mobile device using Google DevTools it works fine as well, only on an actual mobile device it does not work. Would really appreciate your input!!
shashankdaima commented 10 months ago

Can you post a video? And do you have two accounts in gmail in phone? if not most probably gauth auto-logins into the single gmail account.

kangmingtay commented 9 months ago

@fuaditrockz might be worth trying different mobile browsers to see if it's a browser specific problem