auth-js icon indicating copy to clipboard operation
auth-js copied to clipboard

Got user session from different user?

Open jlemonz opened this issue 9 months ago • 0 comments

I have a weird issue which happenend 3 times where all of a sudden someone is logged in with the account of another user. I saw this myself again where i openend my laptop and i was logged in with the other user account. I checked the token and yes it was her token. I cant repo it. I just happens random. I use nuxt supabase. And checked my code over and over again. My only theory is that maybe a refresh event is giving my a valid token or something. I am at a lost with this. I did enable debug mode now. So maybe i can catch it again. Here is the code i now use https://github.com/nuxt-modules/supabase/issues/462

  • [x ] 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.

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

jlemonz avatar Mar 06 '25 14:03 jlemonz