Kinde

K

Kinde

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

Join

getUserOrganizations returning null

I have a user which is part of two organization, but when i call getUserOrganizations it returns null

I have a problem with "Invalid callback URL" issue

i tried everything i thought that may be causing the issue but still havent fixed it tried making new kind project , new vercel project , reinstall kinde but still nothing
No description

`onRedirectCallback` receiving `undefined` value in Remix

I am working from the Kinde Remix SDK documentation: https://docs.kinde.com/developer-tools/sdks/backend/remix-sdk/ I have the following code: ```ts // app/routes/kinde-auth.$index.tsx...

Email password configured but I get magic link

I have configured email and password by toggling in on in the kinde dashboard but when I try to use the creds in my react app, I get a otp-code auth flow. I can't seem to figure out why that is happening...
No description

getKindeServerSession() - secure?

Hi, I am currently building a webapp with NextJS and Kinde. If I use const {getUser} = getKindeServerSession(); in the server components, will fresh data be fetched directly from the Kinde database or does this method only read the cookie value of the currently logged in user? Use case: If users want to make changes to their profile data, only they should be able to do so. To check this condition, I first want to check if the user is authenticated, otherwise he will be redirected, and if he is, he can make changes to his profile data (server actions). The value is written to the secondary user database if the current user.id == userId in the database. Is there a better way to do this with one of the kinde tools?...

What is the recommended way to do Kinde auth with a SPA app (Vue) and a REST API (Fastify)

I've set up a Kinde account (called "seenthis.kinde.com") and the environments and the apps in the admin UI all make sense to me. I've added the @kinde-oss/kinde-auth-pkce-js package to the frontend app along with a "Sign in" button and I'm able to invoke getToken on the kinde client and pass that down to the API in the Authorization: Bearer ${token} header. I am also able to invoke getUser to get user details for the logged in user. So far so good. The part where I get confused is in t...

Customize e-mail

I'm building a new web application and I have a question. When a new user registers, they receive a verification code via email. You can customize the email, but you cannot change its content. For my target audience, it's important that the email is in their native language (Dutch). How can I adjust the text so that it’s in Dutch?

Hasura integrations. Claims key not found

I'm really struggling getting Hasura up and running with my Kinde application. I can't see how I can get he hasura claims under claims key under the key https://hasura.io/jwt/claims I am sending along an accesstoken that shows the x-hasura-* mappings without the parent key [https://hasura.io/jwt/claims]...

Use callbacks_url with and without intl18 subdomains

Hello, Im using nextintls subdomain routing for in18 But if users try to login from a in18 subdomain like "de.domain.com" instead of "domain.com" I get the sate flow not expected error...

User unable to login

A user of our application is unable to login. They are seeing the following 403 forbidden error being returned from our Kinde custom domain auth.inrange.io. In the Kinde dashboard the user's profile reports Total sign-ins: 0 and Failed sign-ins: 0. Can you help me to diagnose and fix this login issue?
No description

First time user authentication and database entry

In my Next.js application, I need to handle an edge case where a new user logs in via Kinde Auth and should be stored in the database. I couldn’t find much information on this on the website, apart from handleAuth. Is it possible to achieve this using a callback URL?

Error on User export requests page

I'm trying to export data from my development environment but when i submit the request and then go to the user export request page im hit with an error code as seen in the photo.
No description

newly added team member does not have role admin

as per https://docs.kinde.com/get-started/team-and-account/add-team-members/ - i'm using Kinde Free plan - i created the business in Kinde and have role Owner - i've added a new team member and they've accepted the invite...

Routing on React?

I have this code: return ( <div className="App"> <Routes>...

Kinde Management API - 400 Bad Request: malformed Host header

I am trying to create an Organization and move a user that's in the Default Organization into it using the Kinde Management API; however, I am getting the error: ``` Error creating organization or adding user: A [ApiError]: Error creating user. at xt (webpack-internal:///(rsc)/./node_modules/@kinde/management-api-js/dist/kinde-management-api-js.cjs:1:25453) at eval (webpack-internal:///(rsc)/./node_modules/@kinde/management-api-js/dist/kinde-management-api-js.cjs:1:26058)...

Accessing Kinde from Redux store

Hi I am using the react SDK. Is it possible to access the kinde api inside of a redux store/reducer?...

Kinde user is lost in Nextjs development by HMR

Hi, i dont know how to debug this issue after a few saves user is lost i dont know why this happens i that network issue or whatever but its so annoying in development because user is lost there a lot of stuff happens in middleware and redirects as well

Remix: onRedirectCallback Functionality in Documentation

The current documentation for the onRedirectCallback function appears to be misleading or outdated. Specifically, it suggests that the handleAuth function accepts a third parameter, which can be used to define a callback to be executed after user authentication. However, based on my experience, the handleAuth function only accepts two parameters: request: Request and route: any. This discrepancy makes it difficult to implement the feature as described. I was trying to call the onRedirectCallback function after a user has been successfully authenticated, as per the instructions provided in the documentation. My goal was to execute some custom logic after the authentication step, such as logging user information. Here’s the specific code I used:...

How to use Is_create_org in NextJs.

The documentation is very brief on this parameter for NextJs. It doesn't give any details on what it actually does. I was assuming I could do something like:- <RegisterLink is_create_org={true}>Sign Up</...> but it doesn't appear to accept that parameter. When a user signs up, I want them to enter an organisation name that will be created besides their account. Thx.

Missing Email and Profile Picture When Authenticating with Hotmail Accounts

When I authenticate using a Hotmail account, both on the front end using the SDK and by directly calling the API, I don’t receive the user’s email or profile picture. However, when I authenticate with a Gmail account, I do get that information. Am I doing something wrong, or is this a bug?