You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a MacOS catalyst target, the session is not persisted, causing all auth and DB methods to return sessionMissing errors. The same code works fine in iOS targets in a simulator
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Update the supabaseUrl and supabaseKey values inside ContentView.swift to point at your desired supabase instance. which should have an already registered user
In Xcode, select the "Mac Catalyst" build target
Run the app and login with the valid user credentials
Examine the console output, which shows the user being successfully authenticated and then immediately failing to fetch the session.
Now attempt the same thing inside an iOS simulator, which will properly fetch the session
Expected behavior
The session should be available after a user has successfully authenticated with supabase.auth.signIn() from a MacOS catalyst app as it is from an iOS app
Bug report
Describe the bug
When using a MacOS catalyst target, the session is not persisted, causing all auth and DB methods to return
sessionMissing
errors. The same code works fine in iOS targets in a simulatorTo Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
SupabaseCatalystMissingSession.zip
supabaseUrl
andsupabaseKey
values insideContentView.swift
to point at your desired supabase instance. which should have an already registered userExpected behavior
The session should be available after a user has successfully authenticated with
supabase.auth.signIn()
from a MacOS catalyst app as it is from an iOS appScreenshots
System information
I see the same problem on #602
The text was updated successfully, but these errors were encountered: