Welcome to the Kinde community

Updated 10 months ago

Include organization name in getOrganization responses

At a glance

A community member is using the NextJS App Router SDK to build a B2B SaaS that relies heavily on Kinde's multi-tenancy features. They find it a bit clunky to retrieve organization names, as the KindeOrganization typed object only returns the organization code, and not the organization name. They suggest it would be a nicer developer experience to have the organization name returned as well, along with type checks. Another community member responds that they will check on what is being planned for this feature.

Hi, I'm fairly new here, currently exploring after shifting over from Clerk.

I'm using the NextJS App Router SDK, building a B2B SaaS that relies heavily on the multi-tenancy features Kinde offers.

One thing that seems a little clunky is retrieving organization names. For example, the KindeOrganization typed object returned from the various APIs (useKindeBrowserClient().organization for example) only returns the orgCode. It'd be great if it could return the orgName as well - I believe it'd be a much nicer DX than having to get the org code > get the claim, we'd also get type checks πŸ™‚

If this could also be implemented for the KindeOrganizations type as well that'd be awesome!
D
B
2 comments
Hi, thanks for your message. I know this has been requested in the past, I will check in and see whats being planned here
Add a reply
Sign up and join the conversation on Discord