You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It may be beneficial to migrate to @supabase/ssr for improved server-side rendering (SSR) support. This would also resolve SSR warnings like the following:
WARN Using the user object as returned from supabase.auth.getSession() or from certain supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead, which authenticates the data by contacting the Supabase Auth server.
Describe the solution you'd like
Migrating to @supabase/ssr could help resolve the SSR-related issues.
Describe alternatives you've considered
N/A
Additional context
I'd be happy to implement this, if this is the direction we want to go into.
We're already using @supabase/ssr under the hood and the warning comes from this lib. I've created an issue to encourage the maintainers to fix it: supabase/auth-js#912. What issues are you facing with SSR?
Is your feature request related to a problem? Please describe.
It may be beneficial to migrate to
@supabase/ssr
for improved server-side rendering (SSR) support. This would also resolve SSR warnings like the following:Describe the solution you'd like
Migrating to
@supabase/ssr
could help resolve the SSR-related issues.Describe alternatives you've considered
N/A
Additional context
I'd be happy to implement this, if this is the direction we want to go into.
See:
https://github.com/supabase/ssr
https://github.com/orgs/supabase/discussions/27037
https://supabase.com/docs/guides/auth/server-side
The text was updated successfully, but these errors were encountered: