listAccounts()
I'm signed into an account in my app but
listAccounts()
is returning null unauthorized. Am I missing something that needs to be passed to listAccounts?
6 Replies
Are you calling authClient on the client side or server side?
Ah calling it server side - guess Auth client won’t work is there a sever side call for it? Can’t find anything in docs
Solution
Yeah, every authClient method is avalible in auth.api as well.
Ah missed the
listUserAccounts
function was trying to call listAccounts
with auth.apiNo worries! May I mark this as solved?
Yes, thanks