Kinde

K

Kinde

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

Join

Autocreate orgs by email domain?

When a new user signs up using their work email, can I autoassign them to an org identified by their email's domain name?

Entra SSO

Hello I'm setting up my first Enterprise connection and I am running into some errors, I was wondering if I could get some help. I get to the login stage and select my MS user and auth but after that I get something went wrong error.

User referral codes

I would like to know if there is a native functionality for users to invite people to our platform and register with Kinde that come from that user through some system.

websockets

My solution is using nuxt3 and Nuxt's embedded h3 server with crossws. My goal for my application is to minimize the number of connections to the server and given our application, we would need quite a few. Using a single websocket resolves that issue. So upon a user's authentication with the server (and ultimately with Kinde), I'm having the browser create a websocket connection to h3 and in code using the defineWebSocketHandler() routine. During the open event, the server receives the peer connection from the browser. It's easy enough to pass any parameter via the WSS query string or headers. I was hoping to validate the user's identity on the server-side using the WSS's initial request object and cookies. Is there a prescribed method for doing this? If I have the 'Kinde' cookie, can I use that to validate and identify the user?...

Assigning identities when creating a user.

Using https://github.com/kinde-oss/management-api-js I am unable to add identities of type 'email' or 'phone'. I am able to create the user in org without the identities array but when adding the array the only type that seems to be working is 'username'....

Trouble with SMS

hi I have a free account, and until a few days, to MFA SMS sending was ok. But since a few days, it seems doesn't work anymore, the sms are not sent at all, and i don't find any information about a limit or somewhere i could setup twillio to send the SMS. Any help will be appreciated Thanks a lot...

Flutter SDK with Encrypted Box

Hi, I implemented the encrypted box from the started kit in my app (ran await EncryptedBox.init(); in main.dart and placed encrypted_box.dart in the same dir as main.dart). From what I understood, when the access token expires, the interceptor leads to the returnAccessToken() function in the Encryptedbox class, but it never happens, and when open the app after the access token expires, I have to log in again. Any Idea why?...

Scalability of feature flags in access token claims

Just checking out Kinde for the first time, looks really cool! I'm especially interested in feature flags, but I'm confused as to how it scales—if I find my app having hundreds or thousands of feature flags, is it possible to still send them all in the access token claims? I know some auth providers have limits on the auth response size (4kb for Clerk, 1000 bytes for Firebase)

Something went wrong - Is there an outage?

I've been scratching my head for the last hour or so. I can't authenticate, even though it's been working fine previously. I haven't changed any code related to authentication since it was all working fine yesterday. I am able to get to the point where Kinde accepts the username / password but it looks like it's unable to hit Kinde's /api/callback URL (which is what Nuxt uses) I just get a very generic error message (see attached) which doesn't really help much. I have restarted the browser, used a different browser. Cleared out my cache / cookies. Tried registering and then logging in, etc, and nothing works (the registration works but then it fails to log in). ...
No description

Reset users MFA through managment API

Hey there, maybe i just cant find the endpoint. But is there a way to reset the MFA option of a user via the managment api ?...

Get the logo thru the api

Hi! I am having a problem getting an organization's logo through the api for a machine to machine project. I have uploaded the logo correctly, and it shows when I go to the branding section in the dashboard. However when I try to retieve oit thru the api, it is null. Please advise. Here are my results:...

User handles / usernames

I would like every user of my app to have a (unique) username, similar to handles on e.g. Twitter, Instragram, reddit... It's a bit unclear how to do this though. I've enabled username sign-in, so users can sign in and sign up using a username. However, it's still possible for a user to sign up with just an e-mail address. How do I force every user to pick a (unique) username? Or would you recommend I only keep e-mails in Kinde and keep usernames separate in my own DB?

Suspend an Organisation?

Is it possible to suspend an organisation i.e. for none payment? At the moment it looks like I have to loop through all users and suspend them individually.

NextJS Kinde SDK not auto-refreshing tokens

I've wrapped my app inside of the authProvider component i've created following the docs, however tokens are not being refreshed as they should be.
No description

Get Logo From User Org

Hi guys, I'm just wondering if it's possible to retrieve the organization logo (or logo link) from the organization object in next.js. I'd like to be able to display the user's logged in organization logo within my app but I'm not sure if or how that's possible....

Kinde Managment API JS SDK missing endpoints - Identities

Maybe i just cant find it rn but does the managment SDK not have the Identities API Endpoint?

Logging user out after 30 mins of inactivity

Hi chat, I'm working on a project that interacts with banking data. To protect that data one of the steps we are taking is to log users out after 30 minutes of inactivity. To achieve this we have a two step process. Firstly in NextJS detecting inactivity (no mouse movements, clicks, etc) and logging the user out. Secondly, by setting the lifetime of the tokens to be no longer than 30 minutes. My question is what should my Kinde token expiries look like to achieve this?...
No description

How to get role of the current logged in user

the current getRole method is not working for next js, it is returning null kinde- 2.3.8...

How to get better Error messages when the user is logging, and option for refresh

I think there shoud be a redirecition link when something like this happens so the user can be redirected to the home page
No description
Next