Separate login per organization
I'm working on a multi-tenant application. I would like to allow the users to register per organization but I found a small issue.
Scenario:
Interestingly, going directly to registration allows the user to register anew and the outcome is that the user is simply added to the organization. The problem lies within the login feature.
Scenario:
- User tries to log into App A (represented in Kinde by Organization 1) - gets info that they don't have an account and are prompted to create one
- Users registers in App A - user registered
- User tries to log into App B (represented by Organization 2) - instead of the behavior like in step 1 so being prompted to register, the user gets info that they don't have permissions for Organization 2
Interestingly, going directly to registration allows the user to register anew and the outcome is that the user is simply added to the organization. The problem lies within the login feature.




