KindeK
Kinde11mo ago
92 replies
__maxom__

Adding an existing Kinde user to a new organisation

Hi,

Thanks for a wonderful product. This is more of a generic question that I'm unable to find an answer to. I'm currently building a B2B2C SaaS application and the business admins can add users(clients) to their business so that they can login to the business dashboard.

What I have noticed is that if a user already exists in Kinde, and I want to try to add a user from the organization, I get a "Email already in use" error. (Example a user is already a client with one business and is becoming a client in another business).

What is the best way to deal with this scenario ? Do I have to write a custom logic to check if the user exists in Kinde. If yes, add the user to the organisation. If not, then create an user and then add them to the organisation ?

Or is there a way where Kinde as a platform can do this check ? Check if user exists in pool, add to org if yes. Or create a new user and add to org ?

Thanks.
Was this page helpful?