supabase/ssr add useJWT, useSession, useUser hooks for react #20918
Unanswered
bombillazo
asked this question in
Feature Requests
Replies: 1 comment
|
confirm. How to use 'use client' if you recommended way for Auth is SSR. Docs say nothing about it |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions