Kinde

K

Kinde

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

Join

How to Get and Delete Users in Kinde Using a Backend Web Application (Next.js + Kinde Provider)

Hello guys. I built a NextJs app with a Kinde provider for an authentication. Now on Kinde I created an Application using Back-end web. I am implementing a functionality to delete user from Kinde, and how could I get user from here after creating a Back-end web application. Sources I get on Kinde is related to applications created with Machine-to-Machine. I need your support here.

Empty response when requesting for token with 200 status

Hi team, I'm trying to integrate kinde with my angular SPA, I'm using the community angular sdk the login request with the is sent correctly and the login from kinde returns 200 but with an empty body I'm using social login with google, my app will be passwordless, what could be the reason for an empty body on token request?...
No description

Refresh token parsing error with Java SDK

Hey, we're using your Java SDK and it's giving us a serialization error, when it's trying to parse the refresh token.
java.text.ParseException: Invalid serialized unsecured/JWS/JWE object: Missing second delimiter
java.text.ParseException: Invalid serialized unsecured/JWS/JWE object: Missing second delimiter
...

URGENT - Next.js - crashing middleware because JWKS can't be fetch

Can somebody please help? I had upgraded to @kinde-oss/kinde-auth-nextjs@2.6.2, but after that, I've started experiencing errors when fetching the JWKS. This happens in the middleware and thus my application crashes....
No description

Intermittent Next.js Auth Errors: "No response returned", "State not found", "Refresh failed"

Hey Kinde team! We're running into a few tricky, intermittent authentication errors with the @kinde-oss/kinde-auth-nextjs SDK (Version: 2.6.1 ) in our Next.js (App Router) app on Vercel. Using NextJs 13.5.9 Key issues observed (in production):...

MFA - We need users to be able to select other MFA methods after they have opted into MFA

We need users to be able to select other MFA methods after they have opted into MFA. As it is now, when the user clicks "choose another method" after already opting in to MFA, the only option that shows is the same one which the user has already opted into. We want the user to be able to choose another method of MFA without requiring a full reset of the user's MFA configuration.

KindeProvider in react version 5.0.x cannot be imported

When importing, I get Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check your code at App.js:300....

Revok acceess

Hi, I' m working on rbac system with nextjs app router and I want to revok access from a user when it is suspended but it does not work. ```js ...

How to verify the location of an environment / switch it?

It appears that during setup my default env the location has not been set to EU as its domain does not have the .eu part. I dont seem to be able to check that or change that. Happy to be proven wrong! 🙂

New Nuxt /api/access endpoint causing issues

Today I went and updated my @nuxtjs/kinde package from 0.1.11 to 0.2. All of a sudden all of my routes were failing as they were trying to access /api/access which I'd never seen before and isn't one of my routes. I eventually found the route in the source code of your Nuxt SDK. Also, unlike the other endpoints I can't see any documentation on this new endpoint. Now in my setup I have a global catch-all [..].ts file which I use as a proxy between Nuxt and my .NET API. It's job is basically to take the user's request pointing to my Nuxt server and via a Nitro proxy redirect it to my .NET API and add the Kinde bearer token to the header....

Kinde Webhooks not being sent

Hi, I'm currently facing an issue where Kinde is not sending any webhook event to my endpoint in the prod environment. The endpoint is deployed as a Cloudflare worker and I do not see any logs and I also do not see values being populated in my DB. To debug the issue, I did the following:...

Development environment question

Hi Kinde team, I have a question around the development environments. Documentation says "There is currently no way to shift data or configuration settings between environments. For now, you need to replicate settings manually, and export/import data or use the Kinde Management API. It’s on our roadmap to make this easier someday." But I have noticed that the "User management" settings between the Prod and Dev environment are in sync. Is this an expected behaviour ? When roles/permissions are created in Development, they are also being populated in Prod and vice versa...

Random error when trying to authenticate - ExpressJS backend with DynamoDBStore + React frontend

I'm running a REST API with an ExpressJS that runs kinde-node-express with a DynamoDBStore and a React frontend. The login process is simply the frontend href to the /login route of my backend, which then handles the the entire flow (sends the user to kinde's authentication flow, and then redirects back to my backend). I can't seem to go past the protectRoute function - not sure if validateToken fails or what. The main issue is that this occurs "randomly" when I make changes to my frontend and then try to login or when I logout from 1 user and login from a different user from the same browser. This doesn't happen all the time, so I can't pinpoint the problem & reproduce the bug consistently....

Mac Application

Is there any documentation or anything I can read about doing authentication on mac application. I am using todesktop app, and everytime i use google oauth, the callback doesn't redirect me. I also use sveltekit...

Kinde Billing for non-recurring payments

Hi! Will Kinde Billing also support single one-time product/ticket payments or only subscriptions? For example a buyer would buy a ticket from a creator with a 5% platform fee. 95% would go to the creator....

API to rotate client secrets for an M2M app

We are migrating from Auth0 and require an API to rotate client secrets for an M2M app, I've looked over your management API docs and can't see anything?

Kinde Management API is_auto_membership_enabled

Hi Kinde team, going through the management API, I have noticed for the Update Organization API, it says: ``` is_allow_registrations DEPRECATED boolean Deprecated - Use 'is_auto_membership_enabled' instead....

Sign in after organisation selection

When the user signs in and needs to choose for a organisation. The claims in the token does not show which organisation the user had choosen. How do we need to find out what the user choose?

Roles not added in .NET claims - ID Token

When following these steps https://docs.kinde.com/developer-tools/guides/dotnet-open-id-connect/ the claims not have any roles with them. What do i do wrong?

Kinde in Cloudflare Pages Function Middleware

I'm using a Cloudflare Pages Function as a middleware to check user authentication before loading any site assets. Using Clerk as an example, it looks kinda like this: const clerkClient = createClerkClient({secretKey, publishableKey}); const {isSignedIn} = await clerkClient.authenticateRequest(context.request, {jwtKey}); if (!isSignedIn) // ...redirect to auth provider...