Fetch user invitations

Is there a function for list all the invitations for a user from the client without specify the organizationId? At the moment an active organization seems required, but i would like to fetch all the invitations from all the organizations for the user
Solution:
Its works fine, there was a problem in my setup
Jump to solution
4 Replies
Feka
FekaOP2w ago
For the moment I tried with this: const invitations = await authClient.organization.listUserInvitations();
The Untraceable
Does that not work? Does that not work? Sorry for the double ping, my message apparently failed to send the first time round
Feka
FekaOP2w ago
I find the issue and now is working. Ty
Solution
Feka
Feka2w ago
Its works fine, there was a problem in my setup

Did you find this page helpful?