Kinde

K

Kinde

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

Join

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

User pictures from Google SSO (Enterprise Connection)

Hi all, it seems all the pictures from google SSO connections are blank gravatars. I tried asking AI but it makes stuff up (https://discord.com/channels/1070212618549219328/1396808784810344518) and didn’t really help can anyone help me with that? ...

SvelteKit and OpenAPI-Fetch

I've been playing around with Kinde auth in SvelteKit with OpenAPI-Fetch. I have hit a tricky spot where using the middleware with openapi-fetch I cant obtain the Kinde token since it has no access to the session storage. The way I have done it now im giving the user the ability to see their own token. Could anyone give me some insight on keeping the middleware apart of the code, and removing the token endpoint? ...

Upgrading from version 4 to version 5 of @kinde-oss/kinde-auth-react gives compiler error

I've just upgraded @kinde-oss/kinde-auth-react from version 4.0.4 to version 5.5.0 and I get presented with the following compiler error:
ERROR in ./src/index.tsx 115:39-52
Can't import the named export 'KindeProvider' (imported as 'KindeProvider') from default-exporting module (only default export is available)
ERROR in ./src/index.tsx 115:39-52
Can't import the named export 'KindeProvider' (imported as 'KindeProvider') from default-exporting module (only default export is available)
...

The link between user_id and customer_id

What is the link between user_id and customer_id and how do I get customer_id to then run Management API to check/consume usage?

Supabase Asymmetrical Key Update

Hey team, with Supabase migrating to using asymmetrical keys (https://github.com/orgs/supabase/discussions/29289), and Kinde not being a supported third party auth provider, wondering if you have any suggestions on handling auth now? I've switched Kinde accounts, therefore need to set up a new custom JWT secret in Supabase but had accidentally migrated to the new keys. Although it is possible to resolve this by creating a new Supabase project, I would prefer not to, just wondering if the team has considered this yet. Would love to avoid having to make an extra network hop to exchange tokens for each auth. Thanks...