CB_Kinde
KKinde
•Created by MALEV0L3NT on 3/4/2025 in #💻┃support
Give administrator access to all orgs
You could create a role for them that applies to each org as well.
10 replies
KKinde
•Created by MALEV0L3NT on 3/4/2025 in #💻┃support
Give administrator access to all orgs
Then the admin just needs to be a user in your business and they can add themselves to every org they create.
10 replies
KKinde
•Created by MALEV0L3NT on 3/4/2025 in #💻┃support
Give administrator access to all orgs
Hey @MALEV0L3NT can you clarify that you want these 'Administrators" to be added to each org when one is created? I think the answer above is a bit misleading as we do not have any such super admin role available out of the box. You will need to use the API route or possibly a webhook to add an admin user to an org when it is created.
10 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
Peter may have a better idea. I am out of ideas
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
It does what you need it to do - search users and filter by email
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
What about using this endpoint GET /api/v1/users
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
No, you can use an email I think
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
Can you use GET /api/v1/[email protected] to check if a user exists and then if a response includes a user id, use
post/api/v1/organizations/{org_code}/users (user exists, add to org)
And if a user ID is not returned, use post/api/v1/user and include the org code in the request body
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
My bad, you are right.
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
Let's wait for Peter
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
@Peteswah can you verify?
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
Maxim not sure what endpoint is being hit when a new user request is sent and you get an error, but if your clubs hit this endpoint - https://docs.kinde.com/kinde-apis/management/#tag/organizations/post/api/v1/organizations/{org_code}/users
And passes their org code, this should add the user to the org (and create the record in Kinde if there is not one)
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
How do you want your business customers to add users?
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
In addition, how are users being added? Via API, self-sign-up? Manually added?
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
For your case, once a user is added, and you want them to belong to other organizations, you just add them to that organization. Can you explain a bit more fully what the end goal is? Do you just want your business customers (orgs) to be able to add users? Well they can, if they pass the org code with the sign in and if a user exists they will be added to the oirg, if they do not exist, they will be added to Kinde and the org.
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
And might also be part of a business, as well as a user of a nother business.
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
We do this so that we can support multiple models where a user might be a buyer or a selller (in a marketplace for example).
93 replies
KKinde
•Created by __maxom__ on 3/1/2025 in #💻┃support
Adding an existing Kinde user to a new organisation
Hi Maxom. I think that you are expecting Kinde to treat organizations like empty buckets that you put users in. Kinde does not work this way. Users are added to Kinde and can exist in multiple organizations. Identities are managed at the top level, not per org. That's why you are getting an error when you try to add an existing user.
93 replies
KKinde
•Created by Tito on 2/25/2025 in #💻┃support
<appname> Wants to Use "kinde.com" to Sign In popup in ios expo
Custom domain @Tito https://docs.kinde.com/build/domains/pointing-your-domain/ Can I recommend asking things in the #⚡⏐ask-kinde-ai channel as it searches our docs and will probably get you answers to questions like this much faster 🙂
7 replies
KKinde
•Created by TJ on 4/25/2024 in #💻┃support
Protect Next.js route handlers with machine-to-machine application?
Hey @Daniel feel free to ask us a new question in the #💻┃support channel. This thread is older and a fresh start might be better 🙂
12 replies