Comments (3)
I am also running into this issue and users are not able to logout using the iOS client and instead throws an error because the response is a 403.
Force log outs only happen for 404s and 401s on the iOS client, perhaps updating the response to a 401 would make more sense
Here is the a reference to the swift supabase client code that throws
https://github.com/supabase/supabase-swift/blob/f1e17ee7ceef4e9da56c57fdd299fa1cf1641381/Sources/Auth/AuthClient.swift#L714-L723
Here is a photo of the error in the xcode debugger:
Edit: there has already been a PR to address this by force logging out from 403s.
supabase/supabase-swift@7c4e62b
from supabase.
I am experiencing the same issue
from supabase.
Hi there everyone,
I am currently having the same issue. I am developing a react-admin web application for internal usage. I use the 'ra-supabase' npm package. I host the app on Firebase but use the Supabase backend. I'm experiencing this error during the implementation of my "forgot password" workflow. The first step where I get the email with the link back to my app works 100%.
This link contains the needed parameters i.e. access_token (JWT) and the refresh_token. I pass these to the function provided by the useSetPassword hook. Behind the scenes it calls the setPassword method in the authProvider which in turn calls setSession which checks if the token had expired and if not tries to fetch the user by calling _getUser giving it the access_token.
It is this _getUser (/v1/user) call that eventually throws a 403 error and returning "AuthApiError: Session from session_id claim in JWT does not exist".
To me it looks like an issue on the Supabase API side. Any ideas?
from supabase.
Related Issues (20)
- mime-type does not check uploaded files, only the filename HOT 1
- Windows 10 and 11 supabase link is not working properly after scoop update vom supabase 1.69.(?) to 1.172.2 HOT 13
- CI/CD for Edge functions in GitHub HOT 3
- [UI] Modal Content Overflow in Storage Policies HOT 1
- Analitics and Realtime doesnt work NOthing to work in docker selfhosting HOT 5
- Getting 502 error on "LOGS EXPLORER" HOT 4
- !!!QQ mailbox registration verification link!!! HOT 1
- Update actions/checkout to v4 for Node.js 20 compatibility
- Self Hosted Supabase throws 403 on schemas-list when behind CloudFlare/Access over HTTPS HOT 4
- Certificate error. HOT 5
- Not working after upgrading from 1.11.11 to 2.2.1 HOT 1
- AuthRetryableFetchError when signing up with additional data HOT 2
- vector upgrade breaks superbase (docker) HOT 4
- SUPABASE_PUBLIC_ANON_KEY undefined in local development HOT 1
- Can't connect directly to postgres in powershell using psql HOT 1
- Identity docs is deprecated regarding provider_id HOT 3
- Refresh Token Not Found / 0.4.0-rc.2 HOT 3
- Supabase self-hosted does not work with PostGIS
- Cannot create Database Functions from UI: `Failed to create database function: undefined` HOT 4
- Infinite Loading State in Supabase Storage File Explorer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supabase.