2
supabase/ssr add useJWT, useSession, useUser hooks for react
Source: supabase/supabase#20918 · opened by @bombillazo
Hey, the old auth-helpers for react had convenient hooks like useUser and useSession to get the data in any component. This feature is missing from supabase/ssr and means I need to keep both libraries around.
It would also be nice to have a direct hook that returns the current JWT.
It would also be nice to have a direct hook that returns the current JWT.
No pledges yet. Be the first to back this.
Comments
Similar requests
Expand useUser to have isLoading state like useSessionContext
2 votes · 0 comments
Enable Supabase SSR cookies with Vike Cloudflare
1 vote · 0 comments
Add Custom Claims from Auth Hook to useSession() and useUser()
1 vote · 0 comments
supabase/ssr: Offer other means of storing/sending session data other than cookies
3 votes · 0 comments
Consider adding an option to refetch updated data for `useUser()`
2 votes · 0 comments
No comments yet.