[GH-ISSUE #6576] Allow invited users to see name of the organization that invited them #10557

Closed
opened 2026-04-13 06:46:51 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @ibaiway on GitHub (Dec 7, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/6576

Is this suited for github?

  • Yes, this is suited for github

When a user lists the invites to organizations it has, it can see the organizationId but it cant see the organizationName

authClient.organization.listUserInvitations()

Describe the solution you'd like

I want users to have a clearer view of what organizations they have been invited to. Since the id can be just numbers, users should be able to see the name of the organization that has invited them.

Describe alternatives you've considered

I have considered calling first
authClient.organization.listUserInvitations()
And then calling
authClient.organization.getFullOrganization()
With the id of the organization taken from the invite but of course the invited user does not have permission to access that data, because it would expose too much information with getFullOrganization()

Additional context

No response

Originally created by @ibaiway on GitHub (Dec 7, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/6576 ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. When a user lists the invites to organizations it has, it can see the **organizationId** but it cant see the **organizationName** `authClient.organization.listUserInvitations()` ### Describe the solution you'd like I want users to have a clearer view of what organizations they have been invited to. Since the id can be just numbers, users should be able to see the name of the organization that has invited them. ### Describe alternatives you've considered I have considered calling first `authClient.organization.listUserInvitations()` And then calling `authClient.organization.getFullOrganization()` With the id of the organization taken from the invite but of course the invited user does not have permission to access that data, because it would expose too much information with getFullOrganization() ### Additional context _No response_
GiteaMirror added the enhancementlocked labels 2026-04-13 06:46:51 -05:00
Author
Owner

@GautamBytes commented on GitHub (Dec 7, 2025):

Will work on it, expect pr tomorrow!

<!-- gh-comment-id:3621850102 --> @GautamBytes commented on GitHub (Dec 7, 2025): Will work on it, expect pr tomorrow!
Author
Owner

@ibaiway commented on GitHub (Dec 7, 2025):

Thanks a lot for looking into it.

<!-- gh-comment-id:3622368580 --> @ibaiway commented on GitHub (Dec 7, 2025): Thanks a lot for looking into it.
Author
Owner

@ibaiway commented on GitHub (Jan 2, 2026):

Closing as @GautamBytes solved this.

Thank you

<!-- gh-comment-id:3705730103 --> @ibaiway commented on GitHub (Jan 2, 2026): Closing as @GautamBytes solved this. Thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#10557