Daniel_Kinde
Daniel_Kinde
KKinde
Created by Michal Kučera on 10/2/2024 in #💻┃support
I want to recreate my business. Is it possible to delete the old one?
I will get this raised with our data team.
6 replies
KKinde
Created by Faris on 9/30/2024 in #💻┃support
Using Kinde with Angular Capacitor and NodeJS
Are you able to share some example code or raise an issue on the SDK github?
12 replies
KKinde
Created by C on 7/13/2024 in #💻┃support
phone sign in, custom has changed
Thank you so much for your patience and cooperation here @C , This was a tricky one to track down!
36 replies
KKinde
Created by Kenton on 9/12/2024 in #💻┃support
Do Roles or Permissions update immediately in user session?
Hi @Kenton, this has been looked at now and found there is an issue with refreshing the orgs on the id token, I have raised this to get fixed. I will keep you updated, however this has been raised by a few people so anticipate should not be a long wait. Thank you for your patience.
16 replies
KKinde
Created by Antoine on 9/16/2024 in #💻┃support
Custom domain on localhost
Hi, what exactly are you wanting to test with the custom domain? This will have no effect on your applications function
5 replies
KKinde
Created by dachsteinhustler on 9/12/2024 in #💻┃support
Intro and questions of a new discord member
1. This is correct, there has been little demand for this, we provide helper and functions to build functionality needed. If you find there is a functionality missing you need we can assist, we are always grateful for PRs also 2. Organizations are a way to group your users. This functionality is mostly used in a B2B setup where each customer is handled as an organization in Kinde and the users will sit inside this organization. User roles are specific to an organisation, for example a user could have a role of admin in one and not in the other. 3. Yes, there is a single use pool, however users will only be able to access organiztaions they are part of. I am happy to jump on a call and discuss your requirements and explain the setup and structure if you're interested?
9 replies
KKinde
Created by Adil Hemache on 9/12/2024 in #💻┃support
how to set provided_id when creating user via management API?
Hi @Adil Hemache , I will check with our API team. The provided_id is really there to support the migration where your user data is coming from another source and being imported. Could you let me know this usecase you're trying to solve with the provided ID when you're creating via the API?
12 replies
KKinde
Created by dachsteinhustler on 9/12/2024 in #💻┃support
Intro and questions of a new discord member
Hi @dachsteinhustler, I am curious how you got on with using Kinde with reflex and if you can share your experience?
9 replies
KKinde
Created by Bini on 8/29/2024 in #💻┃support
newly added team member does not have role admin
Hi apologies, I chased this and has now been resolved. They will need to logout and back in again to see the items.
7 replies
KKinde
Created by Bini on 8/29/2024 in #💻┃support
newly added team member does not have role admin
We have identified the cause of the issue, in order for us to fix the users access could you please let me know. your Kinde business?
7 replies
KKinde
Created by SwiftTacticz on 8/29/2024 in #💻┃support
Error on User export requests page
Could you also copy and paste the error code here please, it will help me locate in the logs
16 replies
KKinde
Created by SwiftTacticz on 8/29/2024 in #💻┃support
Error on User export requests page
@SwiftTacticz Hi, could I ask what region your business is based in please?
16 replies
KKinde
Created by Bini on 8/29/2024 in #💻┃support
newly added team member does not have role admin
Hi, sorry for inconvenience, we are investigating. You have not done anything wrong here.
7 replies
KKinde
Created by Kenton on 8/27/2024 in #💻┃support
Kinde Management API - 400 Bad Request: malformed Host header
Hi @Kenton , I didn't spot immediately, the route is missing the init method, this is required to set the management SDK correctly. The aim is to have this auto configure however some frameworks his was problematic, hope to address in later releases. Below is updated code, tested and working.
import {NextRequest, NextResponse} from "next/server";
import {Organizations, init} from "@kinde/management-api-js";

export async function POST(req: NextRequest) {
try {
init();

const orgResponse = await Organizations.createOrganization({
requestBody: {
name: "test-org",
handle: "test-org",
},
});

const orgCode = orgResponse.organization?.code;
const userId = "hard_coded_user_id"
if (orgCode && userId) {
const response = await Organizations.addOrganizationUsers({
orgCode: orgCode,
requestBody: {
users: [{ id: userId }],
},
});
console.log("User added successfully:", response);
} else {
console.error("Invalid orgCode or user ID");
}
} catch (error) {
console.error("Error creating organization or adding user:", error);
}

return NextResponse.json({});
}
import {NextRequest, NextResponse} from "next/server";
import {Organizations, init} from "@kinde/management-api-js";

export async function POST(req: NextRequest) {
try {
init();

const orgResponse = await Organizations.createOrganization({
requestBody: {
name: "test-org",
handle: "test-org",
},
});

const orgCode = orgResponse.organization?.code;
const userId = "hard_coded_user_id"
if (orgCode && userId) {
const response = await Organizations.addOrganizationUsers({
orgCode: orgCode,
requestBody: {
users: [{ id: userId }],
},
});
console.log("User added successfully:", response);
} else {
console.error("Invalid orgCode or user ID");
}
} catch (error) {
console.error("Error creating organization or adding user:", error);
}

return NextResponse.json({});
}
15 replies
KKinde
Created by Kenton on 8/27/2024 in #💻┃support
Kinde Management API - 400 Bad Request: malformed Host header
Thanks for this @Kenton , let me check this out for you.
15 replies
KKinde
Created by A person on 8/23/2024 in #💻┃support
Redirect user if their account doesn't exist
Hi thanks for your question, we don't currently have the ability to do this, although it has been discussed internally. In order to handle this flow you could bring your own sign in page with this you could check if the user exists via the management API before proceeding, if they don't exist you can then redirect to the page you wish to show.
3 replies
KKinde
Created by ertu on 8/6/2024 in #💻┃support
Dynamic redirect after Login in Nuxt SDK
12 replies
KKinde
Created by ertu on 8/6/2024 in #💻┃support
Dynamic redirect after Login in Nuxt SDK
Hi, this does appear to be missing from this SDK which is strange, I will get that added. I can propose a workaround for you in the mean time?
12 replies
KKinde
Created by ertu on 8/6/2024 in #💻┃support
Dynamic redirect after Login in Nuxt SDK
Hi @ertu, apologies for the slow reply, let me get the answer for you asap
12 replies