Kinde

K

Kinde

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

Join

Discord cancelled auth shows error

Is this intentional? I just clicked "Cancel" when prompted by Discord, posing as a user who clicked the wrong social auth button
No description

Discord OAuth does not provide the user's name

Hello there. I tried using Discord social sign in in Kinde today and I got no name in the user object, all I got is the id, email, and picture. I am using NextJs. How do I fix this? Thank you

MFA token takes long time to receive

Hi team, I wanna raise up a concern for receiving token via email. Sometimes it takes quite a long time (3-5 mins) to get a token. Our team has been experiencing this quite often. We now also receive customers complains in terms of the waiting period. What can be done to improve this?

user schema for database connection with Kinde

Is there a way to find the full user schema from Kinde? I want to integrate this into my Neon database to have relationships between the users and other database tables.

Is there a way to view last signed in on Kinde User dashboard?

Hey was just wondering if their was a way to view last signed in for users on the Kinde dashboard itself or would I have to make my own custom dashboard using the Kinde Management api?
No description

502 Bad Gateway on POST /oauth2/token endpoint

I signed up recently and am trying to setup a non-SDK integration on a Go back-end. The /oauth2/auth request works fine and I am able to login, but when I try to convert the callback code to an access token, I am getting a 502 Bad Gateway. Below is the example request I am making: https://collectivecore.kinde.com/oauth2/token?client_id=<valid_client_id>&client_secret=<valid_client_secret>&grant_type=authorization_code&redirect_uri=http://localhost:3000&code=<valid_code_from_callback> I am not sure what I am doing wrong here....

Typescript jwt payload type?

Hi there, Just trying to implement a webhook and struggling a little with the types returned when verifying the jwt. I think it's the JwtPayload types? Sorry, I'm not too hot on JWTs! Do I need the kinde-typescript-sdk? I could see anything in there that would help, but could've missed it!...
No description

"AuthProvider gives access to auth data in your app"

Hi! I originally followed a youtube video on Kinde that didn't show the AuthProvider in the docs. The docs say that it's needed for token refreshing, but I'm a little confused how it is used for data access? Is it referring to client side data? Because so far I've only been using getKindeServerSession and it's been working fine...

Kinde auth on Electron

Hi everyone, i work in a tech company and we are thinking about implementing Kinde for our apps, we already did so for our web apps with Next.js and we really liked the product, now we are trying to integrate this kind of authentication with our desktop apps, that are made with Electron. I searched for some info about how to properly do it online but i couldn't find anything, does anyone have experience with this kind of integration? Specifically, on the frontend we use React and we tried integrating kinde within our React environment with the Kinde React libraries but we had some issues, maybe the right way to do it would be in the Node.js backend? In the supported backend there are no pure Node.js libraries so, would I need to install a framework within the Electron backend to make it work? Thank you for the support!...

Something went wrong - Error code: 1656

Hi everyone, I have a project that worked fine in development but, when going to production, shows the the "Something went wrong" message after authentication. This is a Django app, in production through Cloudflare. Is there a way to debug this, maybe getting a log or some hint about what is going wrong? Any ideas appreciated.
Authentication error...

Middleware: Not being redirected back to the protected page

Hi there! Enjoying Kinde so far, but each time I navigate to a protected page when signed out I'm redirected back to my home page '/', not the protected page I was going to. Probably something easy I've missed! Thanks, Nick...
No description

expressjs and protected routes with user roles

I am trying to find an example online of using express SDK and protecting routes for users with given roles. Is there anything out there?...

.env variables showing in HTML page source on React site

I got a site based on the React-Starter-Kit site running locally and online, I can log in and out of both. I hosted the site at Vercel where I had to copy the variables in my local .env file into Settings>EnvironmentVariables and I changed the URL. But I notice that when someone wants to find out my Kinde clientId from my env variables on my online site, they simply need to View Page Source, search for "clientId" and it is shown in plain text. Can this be prevented, or is this just a security issue we have to live with unless we use a server-side solution like Next.js, etc.?...
No description

User logged in even after deleted from Kinde

I used the starter kit on a React site to get a Register and Signin button to work. I can sign in on the site so that isAuthenticated is true. But then it wasn't clear how I could build a logout button. So I deleted the user from my list of users in my Kinde dashboard. But after being deleted, the user stayed logged in (isAuthenticated=true) on my site. That's not supposed to happen, right? If a user has been deleted from the list at Kinde, they should immediately be logged out from all sites, right?...

Can we send the signin link of our app in an Email from my NextJS app?

Hello! I'm using NextJS with Kinde and I would like to know if it's possible to create a link that could be send in an email so the user can directly access the sign in page...

Can we we use Kinde just for authentication?

This works fine when we use Google for authentication, but when using native Kinde it will check if the user exists... I don't need that, I'll do verification on my end. Preferably: User enters email -> doesn't matter if it exists in Kinde -> user receives an email -> user enters code -> kinde does callback to us -> we verify JWT -> we check if user exists ...
No description

Get current user role

Hello! Im using NextJS 15 with Kinde auth (love it so far) I have been looking through older posts about how to get the current users role, but I have not yet succeeded to find a solution. My goal is to get the role when fetching "getUser" through "getKindeServerSession"....

Entra AD - How can I get AD group information?

How can get the AD groups an Entra login is in?

Can KindeClient be a singleton in TS SDK?

DO I need to create a KindeClient every time I need it? Or can I create it once and reuse it? Is it cheap to create it? Ill be using it for Management API purposes (like create Users and Orgs)