Giter VIP home page Giter VIP logo

Comments (6)

mmarinhomac avatar mmarinhomac commented on June 23, 2024 1

A quick update, supabase support got back to me the following message:

You can fix this by:
- Manually ignore 403s returned and just clear the local session stored on the browser.
- Upgrade to supabase-js v2.43.1 which contains the changes to ignore the 403s returned.

I try to repeat the error, but it happens intermittently, in the end I ended up updating to the latest version ^2.43.4 ⚡️

"clear the local session" I don't know how I would do this since the supabase session is stored in cookies secure and http , which cannot be modified or deleted due to the browser's security policies...

from supabase-js.

ysemennikov avatar ysemennikov commented on June 23, 2024

Hey! Just got absolutely the same error. Have deployed to Vercel and now catch the bug (on both production and localhost).

Well, it seems like I have successfully logged out on the backend of Supabase, but the session hasn't been removed on the frontend.

const user = useSupabaseUser();
const supabase = useSupabaseClient();

if (user.value) {
  console.log(user.value) // logs a User
  const { error } = await supabase.auth.signOut();
  console.log('error', error); // AuthApiError: Session from session_id claim in JWT does not exist
}
image

System information

  • Nuxt 3 + official Supabase module ("@nuxtjs/supabase": "^1.2.2")
  • Node.js 20
  • Browser: Chrome Desktop
  • OS: MacOS

from supabase-js.

epavanello avatar epavanello commented on June 23, 2024

Same issue to me on https://avatarify-ai.com/
Any solution or workaround?

from supabase-js.

Randallcp avatar Randallcp commented on June 23, 2024

I'm getting the same exact error message using supabase-swift, so the issue doesn't appear to be isolated to this library.

from supabase-js.

Garett-MacGowan avatar Garett-MacGowan commented on June 23, 2024

I'm experiencing a similar issue with edge function authorization.

from supabase-js.

epavanello avatar epavanello commented on June 23, 2024

I solved upgrading the dependencies

from supabase-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.