Kinde

K

Kinde

Join the community to ask questions about Kinde and get answers from other members.

Join

Empty permissions and no roles in jwt tokens.

i am using Kinde for login in react/vite ( that works) and want to us eit for authorization in my flask / pyhton back-end. I get the token, sub and organization are in the Bearer, but Permissions is Empty en there is no role. i want to use them to authorize my flask routes ( and also the front-end but thats the next step. does somenone kknows what iam doing wrong?

Creating users via Kinde API

Hi there! Super new to Kinde and web development in general so apologies for my lack of knowledge in advance. I'm trying to do something that I hope can be done via Kinde but I'm not 100% sure - I'd like for a logged in user with a specific role (ie a manager) to be able to add users to Kinde (within their organisation) via our site using the Kinde API. Our app is full-stack NextJS using app routing with TypeScript, so I looked through the NextJS SDK documentation. I first got very stuck looking at the code snippets there as I couldn't find any documentation for how to use the API with createKindeManagementAPIClient especially trying to use the createUser method on the usersApi. ...

login front and backend with same token

Hi, I'm new using kinde and I'm surprised, it's great. My architecture is nuxt3 front and feathers for backend. Kind and front any surprise but with my backend (holds users, and manage my database) I tryed to send the same jwt token but I have issues. Has anyone an example of similar arquitecture for login on tbe front and reuse the token on the backend. Feathers has jwt and has the same secret....

Machine to Machine Account & Custom Domain

When making an api call with a machine to machine account, it's working with our {businesname}.kinde.com domain but not with our custom domain. Have I configured something incorrectly, or do i need to enable the custom domain in the M2M app somehow?

error: getuser is not a function

I get the error: ```tsx Header.tsx:18 Uncaught (in promise) TypeError: getUser is not a function at getUsr (Header.tsx:18:22)...

More frequent 504 errors

Hi. I have heard a more frequent complaint of "504 Gateway Timeout" errors (last one was ~9 hours ago) over the past few weeks. What is causing these and what are you doing to address them? It leaves our users confused. Thanks...

Next.js - Middleware for Kinde & Redirect to login page

Hi, I'm coming from a Kinde competitor, I love Kinde. It has many more advantage for me also how it already includes the 2FA. I am using Next.js 14 I want to redirect user to login page directly. Docs says 💡 As of right now the middleware in the app router does not work when trying to redirect to api/auth/login. This is because of Next.js caching which causes issues during authentication.. So do I have to put ```js const { isAuthenticated, isLoading } = useKindeBrowserClient(); ...

<LoginLink> / <RegisterLink> causes: "Error: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext)"

CODE CAUSES ERROR: ```js import { LoginLink, RegisterLink } from "@kinde-oss/kinde-auth-nextjs"; // ......

redirect

Is it possible to support dynamic post-login redirects instead of changing the KINDE_POST_LOGIN_REDIRECT_URL env using something like a query parameter? I'm using sveltekit and a solution where I pass in something like /api/auth/login?postLoginRedirect="xyz" or /api/auth/login?redirect="xyz" would be ideal for this imo....

KindeSDKError2: Attempting to commit invalid id_token token "undefined" to memory

hi, i am running into this error when running into production and am not sure why because it doesn't occur locally. Please let me know your thoughts.
KindeSDKError2: Attempting to commit invalid id_token token "undefined" to memory
KindeSDKError2: Attempting to commit invalid id_token token "undefined" to memory
...

custom domain

i have configured my subdomain 'https://accounts.coachbots.com/' but it shows privacy error. my other subdomains are running without any issues

Can I describe external id using

I want to store additional data and want to access it like a subscription expiring date, and some metadata. How can I achieve that?

Integrating with React, Vite, URQL

hey folks, im trying to intergrate Kinde auth with urql, and I'm running into some issues. first off, here's the code: ```typescript...
No description

Organization branding control

With Auth0, my Applications have a Logo URL (which would be handled in Organizations it seems with Kinde). The URL worked well because when my tenant in my multi-tenant platform decided to update their logo, the new logo was available on the sign in page since that logo simply referenced our URL for the logo. With Kinde it seems that logo needs to be actually uploaded. Ok, little different and definitely more work, but that's ok. The problem comes up when I don't see an API to do so so it actually takes manual intervention to make this happen. My tenants will not have access to Kinde, they're not going to upload their logo twice, this has to be automated somehow....

Proper use of Organizations as opposed to Applications

We are a multi-tenant SaaS product. Each tenant gets their own Application (client id, secret). In our existing Auth0 implementation that we're moving away from, we do not use organizations - we have one large bucket of users, however we still still support the multi-tenancy through each tenant having their own Application. It seems I should use Organizations so I can better determine how many users each Organization has and control branding, however that's slightly confusing because in Auth0 branding is controlled through Applications. It is as if an Auth0 "Application" was split into 2 in Kinde and is the sum of an Application and Organization. Is that right? This seems like I should have 1 Organization per tenant and 1 Application per tenant. Sound right?...
No description

We can't find your account

Can this message be skipped, I have disabled "Ask for user first name and last name" so if the user clicks "create account" they are logged in, so this step with "We can't find your account" seams unnecessary
No description

Hey, i want to make a data stored per accounts using kinde typescript, how to do it?

I need help, i am going to store a data that saves per user using kinde authentication. can anyone make this happen?

I want to save data like username, preferred locale, theme for a user in my React App

I don't understand how I can set properties or flags from my react app?