I am migrating from Supabase. Everything works well until I tried to find out how can I get the provider token (from Google) after a successful login. I am using more roles on login and then after I want to use the token to authenticate to some Gmail APIs.
I tried to get on
authClient.useSession
authClient.useSession
and
authClient.listAccounts()
authClient.listAccounts()
. Is there a way?
I am using Hono on backend and React with Vite on frontend.