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

Still having getSession warning whenever _saveSession is called

Open larbish opened this issue 1 year ago • 20 comments

Bug report

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

Describe the bug

Maintainer of the nuxt/supabase module here.

~~We have a PR to migrate on the @supabase/ssr package and we're still experiencing this issue with the latest released version including your PR.~~

The module is now using the @supabase/ssr package and we're still experiencing this issue with the latest released version.

I've removed all occurrences of getSession() in the module and I still have the warning.

Any help on this would be appreciate 🙏

To Reproduce

Clone the nuxt/supabase repository and follow the development readme to run the playground.

Notice the Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure warning.

Expected behavior

Do not display this warning.

larbish avatar May 17 '24 08:05 larbish