supabase-swift icon indicating copy to clipboard operation
supabase-swift copied to clipboard

Can't get session in vision os 2.0 beta

Open sapoepsilon opened this issue 1 year ago • 3 comments

Bug report

  • [ ] I confirm this is a bug with Supabase, not with my own application.
  • [x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Can't get session in try await Supabase.client.auth.session(from: modifiedURL) the bug only happens in VisionOS 2.0 and works normally on the older versions.

I get the following response:

"invalid flow state, no valid flow state found", code: Optional(404), error: nil, errorDescription: nil, weakPassword: nil))

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Login with oAuth
  2. Try to get the session
  3. See error

Expected behavior

A session should be retrieved from url with token

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [VisionOS Developer beta 7]
  • Version of supabase: 2.16.1

Additional context

It is probably vision os beta error, I am mainly positing if anybode else has had this error.

sapoepsilon avatar Aug 24 '24 17:08 sapoepsilon