Welcome to the Kinde community.

P
K
A
A
A
Members
razer293
r
razer293
Offline, last seen 2 days ago
Joined October 12, 2024
Hello,

I am using the NextJS SDK (server & client) to get the org details, it is not returning the org name, the property for "city" is undefined as I added a value through the UI and I have added a custom property and it is not showing in the org details. It is showing in the ID token and Access token as I have extended those to include the custom property.

Is this the expected behaviour?


Response from:
const { getOrganization } = getKindeServerSession();
const org = await getOrganization();
console.log(org, "org");

{
orgCode: 'org_**',
orgName: null,
properties: {
city: undefined,
industry: undefined,
postcode: undefined,
state_region: undefined,
street_address: undefined,
street_address_2: undefined
}
-> is billing_customerid not supposed to be part of properties? It is set to PublicResponse from: const { getIdToken } = getKindeServerSession(); const idToken = await getIdToken(); console.log(idToken, "idToken"); organizations: [ { id: 'org*', name: 'Test Organisation' } ],
organization_properties: { billing_customer_id: { v: '**' } },
7 comments
C
r