Pablo More
KKinde
•Created by Pablo More on 3/20/2024 in #💻┃support
Personal account and organizations
Hi @Oli - Kinde thanks for the quick reply. Unfortunately that wont solve it.
To give more sense to my scenario lets imagine a business like Github. You have your account and you can create your own repos and then you can be part of an organization and access the org's repos.
When I log in I want to log in as my "Personal tenant" and not default directly to any of the organizations. Of course once logged-in the customer can change the tenant but at first the tenant should be the personal one.
One thing I thought was to use the default organization as "Personal tenant" and use its org_code for people to log in. But there are two problems:
- Login screens says "Personal tenant" on the top (I know I can bring my own screen but that is not the idea)
- It is easier for me to do a convinience func such as
jwt.claims.org_code == ""
then I know that the customer is under the personal tenant, but now I should do something like jwt.claims.org_code == "org_fa93ca16058"
which can change in each environment and I need to inject that everywhere where I work with the token.5 replies