K
Kinde4w ago
Kentgi

Hot to get Organisation Names while calling kinde_client.get_user_organizations() in Python SDK?

Hi Kinde Support team, I am trying to get orgID and orgName when calling kinde_client.get_user_organisation() in Python SDK by following the following documentation https://docs.kinde.com/developer-tools/sdks/backend/python-sdk/#organizations. This still gives me org_codes only. I also checked in the Python Kinde SDK, and also found the get_user_organizations() function only returns org_codes and does not include org_names.
No description
No description
4 Replies
Kentgi
KentgiOP4w ago
No description
CB_Kinde
CB_Kinde4w ago
Hi Kent. You can customize the token to include the org name. See https://docs.kinde.com/properties/work-with-properties/properties-in-tokens/
Kinde docs
Add and manage properties in tokens
Our developer tools provide everything you need to get started with Kinde.
CB_Kinde
CB_Kinde4w ago
We're also working to update the docs to include this reference.
Kentgi
KentgiOP4w ago
hi @CB_Kinde . got it, thanks! really appreciate it.

Did you find this page helpful?