Closed ifzm closed 3 months ago
This warning is related to the supabase/ssr
lib. Can you please upvote this issue to encourage the Supabase maintainers to address it?
OK, I'll do it.
I upvoted it as well. In the meantime, do you have any recommendations? Doesn't seem to be negatively impacting my app.
It's not impacting your app. Let's wait for the fix from the Supabase team.
Just updated from 1.2.2 to 1.4.0 and getting this issue now, before it was fine with the same code
Just leaving my hack here for anyone who cannot deal with the log messages lol. It probably only works for package managers that can do patching and I'll use pnpm as an example:
pnpm patch @supabase/auth-js
Remember/store the output to run to commit your patch when done with the following
Now cd to the /tmp/xxx
path and edit the following files:
I did a find for console.warn
and on lines 822
and 817
respectively I just added a //
in front of the line logging Using the user object ...
.
When done, cd back to the project and run
pnpm patch-commit `/tmp/xxxx`
Unfortunately this silences the log for real insecure usage too, so that's a trade-off you'll have to make for cleaner dev logs.
Version
@nuxtjs/supabase: 1.3.5 nuxt: 3.12.3
Reproduction Link
Steps to reproduce
What is Expected?
What is actually happening?