Kinde

K

Kinde

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

Join

Allow user to delete their account (nextjs)

Good afternoon everyone! I am using Kinde in my nextjs app to handle user authentication; I am wondering if there is a way for their account to be deleted on Kinde when they click on the "delete my account" button in my app? The desired behaviour is what when they click on the button, their account is deleted and then they are redirected to the landing page. The login link and register link are so simple to integrate so i was wondering if there is someething similar for allowing a user to delete...

help with Google Auth concent screen.

using kinde.com as a auth provider can we change the consent screen "continue to 'kinde.com'" to "continue to 'mydomain.com"
No description

Create Company during Register

Hello, is it possible to add a field on the register form to create a company?

Help Needed: Authentication strategy for authenticating access to a backend express API from NextJs

Currently we are doing this in a very scuffed way by copying the authentication token from the kinde-token cookie to another cookie that is accessible via any of our subdomains. Does anyone have any suggestions on how we can make this work in a less scuffed way? We are also having issues with tokens refreshing. I am finding a lot of JWT expired errors while devving and am required to re-sign in rather than the token automatically refreshing after x minutes....
No description

Next.js 14.0.3 Middleware TypeError

Subject: Assistance Needed with TypeScript Error in Kind Auth Implementation Hey there! 👋 I hope this message finds you well. I'm currently using Kind Auth for the first time, and I've encountered a TypeScript error while trying to access a protected route....

Are you required to be authenticated to be able to check feature flags?

Trying out the feature flag functionality. While I'm not logged in/authenticated - the flags always return the defaultValue set. I recall mentioning that the flag values are bundled into the JWT or token? So is feature flagging only applicable to authenticated users & not more generally for flagging public pages?...

Password and Passwordless enabled on same time?

How can i chose a user thats uses password when passwordless is also enabled?

Clicking login takes me to API route and not login page (Next 14)

Trying to get up and running with Next14 and App Router. I've got env setup and the following in src/app/api/auth/[kindeauth]/route.ts ```...

Problem when trying to edit role when limit plan is reached

Hi! I have an issue with the web admin panel. I have created a second role, so the account limit is already reached (2 roles with free tier). The problem is that, when I have reached this limit, I cannot save changes for either of these 2 roles. So, if I want to add or remove a permission for some role, the change will not be reflected.
No description

Trouble handling callback from SSO always returns 400

I'm a bit stuck in this section https://kinde.com/docs/developer-tools/using-kinde-without-an-sdk/#handling-the-callback in the documentation. When I send the POST request to oauth2/token from Postman, I get a 400 status code everytime. I am also using PKCE verification. I use this https://tonyxu-io.github.io/pkce-generator/ to generate the code challenge and my code verifier is code_verifier....

kinde_flutter_sdk not being recognised

Hello, I'm trying to use Kinde on my Flutter web app. I am mostly testing my web app using MacOS when I do my development. When I add Kinde Flutter SDK and try to run the web, I get this error:
[!] No podspec found for kinde_flutter_sdk in Flutter/ephemeral/.symlinks/plugins/kinde_flutter_sdk/macos
Any idea how tosolve this?...

sign out

Hey there. I'm trying out Kinde and it has been going great. I have a problem signing out users though. Im using Remix, so i use a library for handling the oauth process. I have followed your (https://kinde.com/docs/developer-tools/using-kinde-without-an-sdk/#signing-out-your-users) documentation but it fails whenever i redirect to the signout-url giving me this error page: "404 Not Found Error We couldn't find the page you were looking for. This may be because:...

NextJS App Router Error out in middleware

Hello, I've been working on implementing Kinde Auth within the Next.js app router using middleware. However, I encountered an error after logging in. Code - ...
No description

User Audit Logs

I can see that Kinde offers a basic Audit Log (see screenshot, docs: https://kinde.com/docs/user-management/view-audit-log/). I'm ideally looking for a quick way of viewing changes to user permissions which would show events like "User created", "User deleted", "User added to organisation", "User removed from organisation", and (possibly in a separate / easily filtered out stream) "User logged in". The current audit log output doesn't quite meet this need as it's currently dominated for me by entries with description "was granted an access token to InRange-API" which refer to grants of M2M access to the Kinde API. If I search for "pre-authenticated" I think this gives me an approximation of the "User logged in" event stream. ...
No description

https://kinde.com/pricing/ M2M tokens question

Can I please double check my understanding of your pricing? The Kinde pricing page says that 2000 M2M tokens are included for free. Is an M2M token consumed every time I call the /oauth2/token Kinde API endpoint to retrieve an M2M Access Token? If so, can you help me understand how to use and validate the ID Token (https://kinde.com/docs/build/about-id-tokens/) ? I'm already passing the Access Token to my REST API through the "authorization" HTTP header. However, this token doesn't contain the user's email address (https://kinde.com/docs/build/about-access-tokens/) and so on every REST API call I'm currently getting a M2M token and calling the Kinde API to get the user object to get their email address. The ID token includes the user's email address (https://kinde.com/docs/build/about-id-tokens/) but I can't see any example in your docs of the recommended way of passing this token through to a REST API and validate serverside that the ID token is valid. Is there any way of tracking how many M2M tokens which I have consumed so far? The billing page doesn't show any M2M token usage, but I don't know if that's because I'm within the free limit?...
No description

Design bugs

Hello, is this intended to set up the login for in different color than background? It does not look very well I guess, is this possible to fix somewhere?
No description

Help in Vercel Deployment

I don't know if the error was generated by Kinde but it's right after and before the log error on vercel deployments. I updated Kinde to the latest version maybe 3 days ago too....
No description

Kinde TypeScript type in Next.js middleware

Hi, With Next.js 14 and TypeScript, may I know how can I specify the type for req so that it recognizes req.kindeAuth, ``` export default withAuth(async function middleware(req) { console.log("look at me", req.kindeAuth);...

New Application Environments

I'm trying to figure out the correct workflow when setting up a new application and i'm a little confused about environments. What is the correct way of setting up environments for a new application? Currently my experience looks like this: - Sign in to my kinde account, or create an account...

Integrating Kinde to Astro

I tried to integrate the kinde authentication to my Astro project using the typescript-sdk the login and logout were working fine but while kindeClient.isAuthenticated() Its giving false can anyone help me with this.