jovanazugy
BABetter Auth
•Created by jovanazugy on 3/22/2025 in #help
authClient.listSessions returns empty array
Hey everyone, I'm trying to list the sessions of the user to display in their profile, but authClient.listSessions always returns an empty string. What am I missing?
backend (hono js):
frontend (react)
Everything else seems to work fine, the sessions are persisted in pg.
(same question on Reddit: https://www.reddit.com/r/better_auth/comments/1jguvvs/authclientlistsessions_returns_empty_array/)
5 replies