Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still having getSession warning whenever _saveSession is called #912

Open
2 tasks done
larbish opened this issue May 17, 2024 · 1 comment
Open
2 tasks done

Still having getSession warning whenever _saveSession is called #912

larbish opened this issue May 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@larbish
Copy link

larbish commented May 17, 2024

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • 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.

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

Any help on this would be appreciate 🙏 I can't merge and release this PR until I get rid of this warning.

To Reproduce

Clone the nuxt/supabase repository, go on nuxt-modules/supabase#357 PR 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 larbish added the bug Something isn't working label May 17, 2024
@j4w8n
Copy link
Contributor

j4w8n commented May 26, 2024

Have you heard back about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants