Kinde

K

Kinde

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

Join

create user using management api

is there a way where i can create user directly with email and password using, where the user can just login without the user need to verify the email while logging in for the first time for the first time ```js const usersResponse = await fetch( "https://{business_name}.kinde.com/api/v1/user",...

Getting tokens failing when navigating to new page

I'm finding that when I navigate between pages, I'm unable to get the access token unless I refresh the page. This is how I'm trying to retrieve the token; ``` const client = useKindeClient();...

Personal account and organizations

Hello, I am having the use case of customers having their own account (in which org_code should not be present on the access token) and being able to switch organizations as well if they need. Given a user X that has an organization FOO and BAR, I want the user to always login without org when going through the login page and only be able to switch using a drop-down (that is described in your site and works well). The problem is that whenever I am login-in I always get prompt to which organization I want to log in instead. Can I somehow force him to login not into any organization and then make him switch accordingly based in the org_code parameter??...

Try Our Ai Chatbot In Your Website

We are started recently so we are trying to better

Webhooks

I'm still on dev. Is there any way I can setup a callback url to my own project? (I'm using Next route handlers):
No description

Post authentication redirect returning HTTP ERROR 500

I've followed Next.js quickstart guide and integrated Kinde into my Next.js app. However, when I create a new user with email and set password, it redirected me to /api/auth/kinde_callback?code=<code> but it's always returning error 500. The same thing happens for social sign in, it didn't redirect me to the account selector/allow access page of that social sign in, but it returns error 500 as well. The error is also printed out in terminal. ``` ⨯ Error: Authentication flow: Received: <token> | Expected: State not found at AuthorizationCode.eval (webpack-internal:///(rsc)/./node_modules/@kinde-oss/kinde-typescript-sdk/dist/sdk/oauth2-flows/AuthorizationCode.js:184:35) at step (webpack-internal:///(rsc)/./node_modules/@kinde-oss/kinde-typescript-sdk/dist/sdk/oauth2-flows/AuthorizationCode.js:53:23) at Object.eval [as next] (webpack-internal:///(rsc)/./node_modules/@kinde-oss/kinde-typescript-sdk/dist/sdk/oauth2-flows/AuthorizationCode.js:34:53)...

Language on default layout

Is it possible to define what language I want the default layout (used for sign in and sign up) to use or do I have to write my whole own pages?

How can I generate API keys for my users to use programmatically?

Hello, I'm evaluating Kinde for a developer focused SaaS product in which users will mostly (except for billing, etc) interact with the product through a REST API. I searched through the docs, but couldn't find a solution for such a use case. Maybe I've missed it, but is such a use-case supported by Kinde?...

WEBPACK_IMPORTED_MODULE_0__.createContext is not a function

Hey guys, Im making a simple login register page using kinde and nextjs Im getting this error i dont know how to fix it, any help is appreciated. I ran the command ...
No description

Secret landing page

I've managed to arrive at the secret landing page, which appears to be related to our custom domain (based on the URL - it's the root location of our custom domain). The page contains the following text:
You've found our secret landing page. There is nothing to see here yet. Soon it will be an awesome home page.
I arrived there by providing incorrect credentials five times and getting the 5-minute lockout window - I was just doing some testing to see how it would behave and I was a bit surprised to end up here. Is there something we're doing wrong? It appears this flow is entirely provided by Kinde so not sure what I can modify to redirect the user to a different location after five failing login attempts. Thanks for any help you can provide!...

Next.js with separate backend - which SDK to use?

Let's say I have a Next.js application (both client-side + server-side), but then also a separate Express server. What is the recommended way to add auth to the whole setup with Kinde?

React-admin front-end and Next edge-runtime back-end - which SDKs/applications and how to auth API?

Hi, I'm using react-admin and have successfully implemented the front-end auth flow with Kinde and React SDK. I'm now trying to authenticate back-end API access in Next JS (Vercel) edge-runtime from the front-end using the Next JS SDK but for some reason it's not authenticating: - I already have a front-end React Kinde application for the login journey and a back-end Next JS Kinde application for the API journey...

[NextJs]-Passed 'state' parameter does not meet requirements

NextJS App Router SDK v2 The error message returned: {"error":"invalid_state","error_description":"The state is missing or does not have enough characters and is therefore considered too weak. Request parameter 'state' must be at least be 8 characters long to ensure sufficient entropy."}...

Using custom login pages on Flutter.

Hello, we are trying out a POC using Kinde, The SDK flow works fine, we don't want to go down this approach, but rather we want to have our existing login page, to authenticate the users. I found this doc, but it's pretty minimal on how to achieve this on flutter. https://kinde.com/docs/authentication-and-access/custom-authentication-pages/ Any help would be appreciated. 🙌🏼...

Data fetch from twitter

No idea how to get the twitter posts after the succefully Login using twitter Auth. Received email, name, I'd, but next step I m missing how to get the login user posts 😞, help? If any Doc. For my issue!

Callback

Hi there. I want to execute a function on my database that checks for the user existence or create a new registry based on the data returned from social auth (e.g. email, username, avatar, etc). Is there someway that when the user sign in through Kinde I automatically execute my own function to my own db?

I get an error when I go to the web page to log in

The error message returned: {"error":"invalid_state","error_description":"The state is missing or does not have enough characters and is therefore considered too weak. Request parameter 'state' must be at least be 8 characters long to ensure sufficient entropy."} NextJS App Router KINDE_CLIENT_ID= ** KINDE_CLIENT_SECRET= **...
No description

Add clickable button that redirects them back into the homepage when on authentication page

How do I make the logo clickable, and is it possible to add a button that says Go Back in the login/register page?

[NextJs] [Vercel] Is it possible to use Vercel previews and kinde authentication together?

https://staging-goqov7az4.edubeyond.xyz/ we have custom domains, how can we make it so that callbacks work on any subdomain here's what i have set for callback urls...
No description