Kinde

K

Kinde

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

Join

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
...

State mismatch next.js 15

Hello I am Daniel and I am developing next.js 15 app with Kinde. I need help as I am receiving a lot of state mismatch after login. Could You help me to solve this problem?

fastapi docs are outdated.

Hello, I'm trying to configure a fast-api as documented but it seems to miss a few steps . https://docs.kinde.com/developer-tools/sdks/backend/python-sdk/ 1) I get KindeConfigurationException: Client ID is required. when I do fastapi run dev --port 5000. It's fixable with load_env 2) Then, when I hit /login I get "AssertionError: SessionMiddleware must be installed to access request.session" and this is where I'm stuck....

Customise email verification code email

Is it possible to customise the email verification code email for email + code auth? I couldn't find anything in the docs. Also should the company logo be displayed with the email? I can see an image tag with the logo in the email source however in gmail at least the logo doesn't appear just a blank space followed by the text (is configured to display images in messages from the sender). Thanks,...

No content in self-serve portal (using Kinde Management API)

I am trying to get started with the self-serve portal. For simplicy reasons, I integrated it using the Kinde Management API (https://docs.kinde.com/kinde-apis/frontend/#tag/self-serve-portal/get/account_api/v1/portal_link), but when I get redirected to the portal, it does not show any elements (white screen). In the settings I activated the "User profile" option. I do not have yet a subscription in Kinde. Any clues why I don't see any elements in the portal?...

how to get login and signup form on a popover?

How can I show a pop-over login form to a user instead of redirecting to kinde?

Manage "Authentication Experience" via API?

I'm trying to turn on / off the Marketing Consent checkbox based on configuration needs from my users. I'm not seeing that this is possible through the API. Am I correct it isn't possible? Is this on the radar? Thanks!...
No description

Webhook decoder not working

hello guys , i installed the npm package @kinde/webhooks to decode my JWT , in the docs it says to use const decodedWebhook = decodeWebhook("eyJhbGc..."); if (decodedWebhook.type === WebhookEventType.userCreated) { // decodedWebhook is type safe userCreated event }...

Webhooks with port number don't appear to trigger

I have an issue where the webhook doesn't POST to an endpoint that has a port number when the Kinde event is triggered - user.created in my specific case. I have two webhooks setup, both for the same user.created event. One points to an httpdump.app address as a testing sink , the other to an address that has a port in it eg https://api.myapp.devc:8090/api/hooks.user/created . When a user is created, I get the POST event received at the httpdump.app endpoint, but nothing at the port-based address. My port-based endpoint receives the POST OK when I grab the event body received at the httpdump.app sink, and use Postman to POST it manually to the endpoint....

Migrate from react-native-sdk to expo sdk

Hi is it possible to migrate existing users who are logged in on our app using the react native sdk (https://www.npmjs.com/package/@kinde-oss/react-native-sdk-0-7x) to the expo sdk? We want to keep the users logged in - can't seem to figure o ut how. to do this, any help would be appreciated! (We don't use Expo Go so lmk if that makes things easier) thank. you!

custom login flow.

Hi I am sorry if this has been discussed before but I am wondering why I cent create a custom login for email and password but I can create a custom signup flow. WIth the management api I have a complete custom flow where i can create a org, user, set password, add user to org and set a role. this is all done form my signup page no issues. but I cant create a basic Login page. If I follow what i have seen i can a custom page with a email input but then to add the password i have to redirect to kinde to add the email.... I dont get this. I have tried to look for an endpoint that i can hit and sort it out but everything i try I get a login failed message. Is there an endpoint I am missing, is it possible at all???...

Cannot setup a webhook endpoint that has a port number

I'm trying to configure a webhook endpoint and I am unable to save the webhook as the endpoint URL returns the validation error "Enter a valid URL, e.g. http://domain.com". I am using an address that has a defined port number, and I think this might be the issue. The AI chat tells me that port numbers are OK for the webhook endpoint, but the validation on that page seems to think otherwise. As an example, you can't setup a webhook to https://httpdump.app:443/dumps/8fc35ec6-e8ff-406a-9d5e-34b4c2d...

M2M API Scopes Not Updating After Edit. Must Recreate Application

I've encountered an issue with updating M2M application scopes in the Kinde dashboard. When I edit an existing Management API application to add new scopes (for example, I had read:user_properties at start and later I want to add update:user_properties) and save the changes, the API calls still fail with: {"errors": {"code": "SCOPE_MISSING", "message": "Scope is missing: update:user_properties"}} Workaround found:...

Custom per-organization Marketing checkbox message

Is there a way to provide custom a message checkbox message next to the "Yes, Send me Offers" checkbox? I know I can do this across the entire environment, but is there a way to customize it per organization, application or use variables in the message to populate? Secondary question - is there a way to have the checkbox pre-checked?...

Be alerted to potential security issues

A recommendation from a recent pen test was to setup account lockout alerts to warn in the event of an attacker attempting to brute-force logins. Is this something that Kinde handles? I cannot find anything specific in the UI or docs. Looking at webhooks I was thinking it could be possible by capturing the user.authentication_failed event and processing externally?...

I want to change the owner of the account. I dont see an option for doing it in the admin portal.

I have a plus account currently. Could someone please guide me on this? Thanks in advance!...

UnhandledPromiseRejection on login redirect with SvelteKit

Hello KindeAuth Team, I request your help getting the login redirect to work. I am trying to Redirect to a different page upon login, but receive an UnhandledPromiseRejection error. ...

Custom Connected Apps

https://docs.kinde.com/integrate/connected-apps/add-connected-apps/ I was reading this docs page, but it seems there are only a small amount of supported apps that I can connect with. Is there a way to make custom connected apps? Thanks...

METER_NOT_FOUND error when recording usage

I'm implementing metered billing and getting an error when trying to record usage. Working endpoints: - GET /api/v1/user?id={userId}&expand=billing ✅ - GET /api/v1/billing/agreements?customer_id={customerId} ✅...