Kinde

K

Kinde

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

Join

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?

Vercel deployment - Invalid callback url

Hi team, i just tried to deploy my app to vercel with kinde auth. after follows all the steps on your youtube channel, but still get the error invalid callback url. P/s: i update env and url settings on project already, is there any solution. thanks in advance...

Only Signup page

Hi I am new to kinde I have a login and a signup form I want user to login via signup only I dont want login for that I have use RegisterLink component but is there any way to remove the "Already a account login " text from signup screen refer the below image https://jam.dev/c/b3286b5c-bb6c-45cc-bba6-bbf9ce8d5071...

{ errors: [ { code: 'NAME_REQUIRED', message: 'Name is required' } ] }

Suddenly getting this error using the create org api I am sending a name in my body {"name":"IF","is_allow_registrations":true} ...

Post Logout Redirect Parameter

Hi there! I am using Next 13.4.19 with "@kinde-oss/kinde-auth-nextjs": "^2.1.10" I am trying to change the post logout URL for a single page. I have tried /api/auth/logout?post_logout_redirect_url=/logout?from=logout but this keept sending me to / which is my default after logout url....