Kinde

K

Kinde

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

Join

useKindeBrowserClient endpoint on hook calls

Is useKindeBrowserClient supposed to call/setup endpoint on each hook call? e.g. I'm calling this hook throughout my component tree and it is making 30+ requests to this url just to load the page. I'm assuming it should instantiate the client once and use it throught the application, like tanstack/query does for example?

ManagementClient.get_user() returns 404

I have been trying to use the management client from kinde-python-sdk==2.0.10 to get a single user with client.get_user(user_id) but I keep seeing the error: (404)\nReason: Not Found\nHTTP response headers: HTTPHeaderDict({'Date': 'Mon, 01 Sep 2025 06:51:23 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '107', 'Connection': 'keep-alive', 'Vary': 'Accept-Encoding'})\nHTTP response body: {\t\t\t\"errors\": {\t\t\t\t\"code\": \"ROUTE_NOT_FOUND\",\t\t\t\t\"message\": \"The requested API route does not exist\"\t\t\t}\t\t}\n" client.get_users() works fine however. Can I have some hint how to make this work?...

SMS default country picker value ignored.

I'm setting up SMS MFA, the text messages get sent + the user can authenticate with them fine however I've set the default country in the portal to the UK (as that's where all my users will be) however when i actually go to test the MFA flow in the app, the default country is still the USA. I've reinstalled my app a few times, made sure i've clicked save and also waited a few hours however it still seems to be the case. Screenshots attached. Please could somebody help. Thanks!
No description

Organization self-management - Members

Is "Members" option available in Free plan? I can see only: Organization details, Billing, API Keys...
No description

GA4 requests blocked in custom code. Platform restriction?

I'm trying to add google analytics (GA4) tag to my custom ui using custom code, based on this template, https://github.com/kinde-starter-kits/custom-ui-splitscape. Even with the GA script added to the <head> and CSP configured, requests to https://region1.google-analytics.com are blocked in the browser with a Content Security Policy error: `Refused to connect to region1.google-analytics.com... because it violates the document's Content Security Policy...

Cloudflare workers preview urls

Hi, I'm hooking up kinde with nextjs deployed on a cloudflare worker and I'm looking to see if I can get preview urls working. I've seen https://docs.kinde.com/developer-tools/sdks/backend/nextjs-sdk/#working-with-preview-urls for Vercel but I don't think cloudflare expose a preview url env var I could dynamically set. Wondered if there has been anyone that's got it working? Or if there was a best approach to follow?

handle login via Popup

I am trying to set up a login flow but want to handle it via popup instead of an redirect, the idea would be that the user clicks on a login button it should (instead of a redirect) opens a popup handles the login inside kinde and closes the window after the user is logged in

Unable to find git repo to connect to

I’ve managed to successfully connect one of my git repo (Repo A) to one of my kinde business (Business A) both staging/live env a month or so back. Today I was trying to connect a new repo (Repo B) to another Kinde business. In the “Select a repo” UI after authenticating with github, I can see Repo A but not Repo B. Both repos are exact templates of the kinde-starter-kits/custom-ui-evolve-ai. Repo A is in an organisation with visibility private. Repo B also has the same settings. However, Repo B can only be seen in the dropdown when the visibility is set to public. After connecting Repo B in public visibility mode. I tried changing back the visibility to private. This causes sync issues....

Pay per use?

Is there a way to implement some sort of pay per use billing setup, where the user is billed immediately after a single consumption event, not at the end of the cycle?

Organization Scoped M2M Applications

I am having trouble creating scoped M2M apps. Using the GUI I create the app from the Organization -> M2M apps menu. After entering an app name it shows the app details with the org shown. It lets me authorize an API but as soon as you try to edit the scopes or customize the token it becomes unresponsive. After refreshing, you can see the application, but it no longer shows the organization. Inspecting the test token shows that there is no org_code claim in the token. I have also created an org scoped M2M app using the Kinde Management API, but this ends up with the same result (no org_code claim). ...

Stripe Connecton

Hi, I currently have a prod and dev environment. On my dev environment I'm trying to connect with Stripe through Billing. I fill everything out as requested from Stripe's side and get redirected back to my Kinde account. However, once back in Kinde, I get stuck with 'B1902: Stripe requires additional information to be provided.'. Even if I click 'Update Stripe Information', the same thing will happen re-using the previously filled in information. I have tried entirely disconnect stripe, deleting existing test accounts and sandboxes to the point I need to redo MFA but no luck. Not sure what I'm doing wrong here, any help would be appreciated...

Integrating roles with billing plans?

I'm building a resource portal, using Express.js and Kinde permissions to restrict access to content. Today, I am looking at building in billing functionality, but am unsure how I can tie various plans to user roles? E.g. If someone subscribes to the "Subscriber" plan, how can Kinde add the "subscriber" role to the user. And if they change plan later ("Client" ), how can Kinde then change their role ("client")? Is this something Kinde manages directly, or do I need to code for seperately, and use Kinde (Workflows?)?...

Self-serve portal link without a Kinde SDK

Can someone help me understand where I am going wrong with generating a self-serve portal link? I use Netlify and have paths to call my Express app. Authentication all works, but I can't seem to generate a link for the self-serve portal. Netlify function error ``` Aug 21, 01:40:03 PM: 918de926 Duration: 4.61 ms Memory Usage: 146 MB...

A person

Hi, I have a lot of trouble accessing my account with kinde auth. I get error 403 forbidden and I haven't done anything wrong, I don't know what happened, I appreciate yesterday morning out of nowhere

Restoring deleted users

Hi, I accidently permanently deleted 9 users. Is there an option to restore them? Also, please fix the interface. The reason I deleted the users was because I filtered by organization, which displayed only the organization's users (as intended), I deleted 1 of them, and I expected the refreshed list to still display the users of the organization, but instead it showed the organization, but display ALL users, which led to me deleting unwanted users....

How to redirect user to the billing page

Hello, I was setting up billing in my app and I wanted to redirect the user to the billing page if they haven't already paid. Like if a user comes to the site, register's using their Google account, then once they come to the billing page say they change the URL to go back to the landing page, login with this newly created account then they will have effectively just bypassed the billing. I'm already checking to see if the user has paid in my middleware but as of now all I can do is redirect them back to the homepage but they can't ever pay so instead I want to redirect them to the billing page. I'm using the Next JS app router SDK....

How to test billing

I've connected my stripe account in the billing tab and in Stripe I switched to test mode. I just want to test out the payments and stuff but I get the error shown in the screenshot. Is there some additional setting I have to change in Kinde? Right now my environment is not live.
No description

Can't connect stripe account

Whenever I click the "Connect Stripe account" button it just turns into a loading symbol for a few hundred milleseconds and then goes back to that button. Previously I had connected the current organization in Kinde to a business on Stripe but then I removed it from the Kinde dashboard. Now I want to connect it to a dfiferent business on Stripe but the button isn't letting me....

Custom ui not shown

I'm having an issue with the "Customize with code" feature. My Git repository syncs successfully, but my custom UI isn't showing up live—I still see the default Kinde page. I've already set up my repo to match the official custom-ui-splitscape starter kit and have checked all the standard settings (the main toggle is on, Client ID matches, cleared cache, etc.). Has anyone run into this before? I'm wondering if it might be a caching issue on Kinde's end or something I'm missing. Any help would be appreciated! ...

Vercel Edge Nodes and expoSecureStore in NextJS SDK

I updated Vercel to Node 22 and now I can't deploy anymore. It seems that the NextJS Kinde SDK includes some Expo (react native?!) modules that are not supported.
Error: The Edge Function "src/middleware" is referencing unsupported modules:
- __vc__ns__/0/index.js: ./expoSecureStore-DT0Gf-SP.js, ./expoSecureStore-C1h3JFYV.js
Error: The Edge Function "src/middleware" is referencing unsupported modules:
- __vc__ns__/0/index.js: ./expoSecureStore-DT0Gf-SP.js, ./expoSecureStore-C1h3JFYV.js
...