mediacrafters
BABetter Auth
•Created by Risatoga on 3/7/2025 in #bug-reports
useSession not reactive?
is this new version deployed here? https://demo.better-auth.com/client-test If it is, I'm not seeing the avatar component in the header when I log in, which means that <UserAvatar /> is returning null
14 replies
BABetter Auth
•Created by Risatoga on 3/7/2025 in #bug-reports
useSession not reactive?
@bekacru thanks! I see you have client.useSession() inside the same component you are calling signIn.email. In my case I have a header component inside my layout that calls client.useSession(), and signIn.email() is called in a component inside a specific page. If you have time, can you try a similar structure to see if you can reproduce the bug?
14 replies
BABetter Auth
•Created by Risatoga on 3/7/2025 in #bug-reports
useSession not reactive?
we're facing the same issue using authclient only when signing up with credentials. @bekacru I saw you posted a client-only demo here is there a way to see the code? maybe that will help us solve our issue. P.S. using google "sing up" updates my session correctly.
14 replies