Kinde

K

Kinde

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

Join

Error: this method must be invoked in a node.js environment

I'm using Kind with NextJs, and everything was working well, but out of nowhere, I've started to get the following error: Unhandled Runtime Error Error: this method must be invoked in a node.js environment ...

Signing in Kinde Auth in Cypress Automated Testing

I'm trying to write an automated E2E Cypress test case that involves logging in to my website. In the Kinde Page that my website redirects to, the only way to sign in is via google auth. The main problem for me is that I honestly don't know how to tell Cypress to click on the "Continue with Google" button, and I would imagine I would face the same problem once I need to choose a google account to log in with. One of the alternative solutions I found is to authenticate via the Kinde Management API v1, but I don't understand how this works. ...

Logging out manually/ending session and redirect

Dear everyone, I am extending an application built in this YT-Tutorial (https://www.youtube.com/watch?v=ucX2zXAZ1I0) using NextJS 13.5.4, (AppRouter) TypeScript, trpc for requests and Kinde for Auth management. My problem is as follows: When logged in, i wanted to give a User the possibility to delete all his files and finally his account (in my Prisma DB and at Kinde)....

Getting 404 Error when trying to redirect api/auth/login

im following official for nextjs and im getting error 404 when redirected to login my project structure...
No description

CreateOrgLink Sign-in

Hello! I’m trying to crate a new sign-in process where the user can add a new organization (SaaS with multi tenancy) using the <CreateOrgLink> with NextJs. The issue is that it gives me the same sign-in that I get for a unique user (with name and email) it doesn’t add any field for the organization name. Am I missing something, should I do that sign-in on my side then send over the information to Kinde Through the API? Thank you!...

Billing query

Does Kinde's pro plan is shared among all businesses or Each business needs its own pro plan? Or it simply charges us just no of MAU and other features. I created a School Management app using NextJS that will be distributed to different school owners like this School 1 App --- Business -------...

Search for user via provided_id via API?

On a backend microservice, I would like to be able to iterate my users table and pull down latest data in order to cache the user profile details with the most recent and update my table. To do this most effectively, I would need to be able to hit /api/v1/users with the provided_id matching the UUID from my users table. How can this be done?...

Decoupling API calls with react components

I have one doubt about react sdk (and I opened an issue: https://github.com/kinde-oss/kinde-auth-react/issues/39 on the github repository). I want to get the access token for each request that goes to my API (For example in an http interceptor). I don't want send API requests in my react components. I, suppose, use redux to send http requests. How do I get the access token outside of the react component? I couldn't find a way, as react SDK exposes just the react hook to interact with Kinde.

Prompt Request Parameter: Using Kinde without SDK

From the documentation, the prompt parameter accepts a login or a registration value to determine if your user should land on the sign up or sign in page. Assigning "login" to the prompt parameter works as expected but assigning "register" to the prompt parameter throws the error in the image on the screen.
No description

Is there a way to customize the color of the login/register interface?

At the moment it's blue and my website it's black/orange so is there a way to change that blue on the button? Thank you!

Is there a way to set a user's password on the Kinde platform?

I am trying to make a demo presentation for my application and need to make a dummy user. It would be very convienient if I can make this fake user while im logged into kinde. Setup the user and password. That way I can just log the dummy in and do the demo. Is this possible?

Cannot login when doing local development on mobile device

I am doing local development, so I've added the following as my allowed callback URLs: http://localhost:3000/api/auth/kinde_callback http://192.168.8.167:3000/api/auth/kinde_callback (my macbook's local IP) ...

How to allow specific emails to login with auth0?

I want to only allow specific user to login with google login how to do that in kinde?

Fetch user role in nextjs-app-v2 sdk

Hello, I wanted to fetch the user role of the currently logged in user without calling an api, Please provide the solution for the same. I'm using nextjs 14.0.2 and kinde-auth-nextjs-app-router-v2 sdk. It will be good if I can get in kindeServersession same as how we get an access token and user profile...

typescript SDK session manager

hey, i'm going through the typescript sdk docs (i'm adding to a bunJs + ElysiaJs app) - https://kinde.com/docs/developer-tools/typescript-sdk/ and I'm at the section about sessionManager and it says This would need to expanded to handle multiple sessions. is this something that we're expected to build ourselves, or is this a common interface where i can just pass redis into here or smthn?...

Authentication flow state not found with NextJS Middleware

Hello, I had issue when combining NextJS Middleware and Kinde I got error when successfull Signin / Register, and Kinde trying to navigate to callback http://localhost:3000/api/auth/kinde_callback . Error looks like this: ``` ⨯ Error: Authentication flow state not found...
No description

Dangerous Site Warning using custom subdomain

Got a dangerous site warning on Chrome mobile (android) when attempting to login to my app using the custom subdomain that I connected to Kinde. In my Kinde dashboard, it shows SSL certificate is provisioned for my custom subdomain. How can I fix this?...
No description

How to design proper structure for organizations, projects, and users in kinde

I want to design an app that allows users within multiple organizations, and each user should join project which is managed by the organization to interact with services. In addition, user in one organization can invite external user of another organization to the same project. The simplified diagram is shown as the picture. How to setup those architecture in Kinde?
No description

This client must include a code_challenge when performing the authorize code flow, but it is missing

Hey! I'm using the NextJS App Router v2 integration with the example Dashboard application from Next. When logging in using Google or Microsoft I get the following error: {"error":"invalid_request","error_description":"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. This client must include a code_challenge when performing the authorize code flow, but it is missing."} ...