I am currently modeling a multi-tenant SaaS application and using kratos for identity. i’m trying to figure out what identity schemas i should create. i know i’ll need a user identity and a “service account” identity for robot users but how are folks typically modeling SaaS tenants/customers? Is that handled outside of kratos or in (typically?)
03/09/2022, 5:33 PM
you can probably implement a simple structure just using identity schemas, but for something like a SaaS tenants etc.
I would recommend to take a look at Ory Keto.
Here is an article that goes into an implementation of RBAC https://gruchalski.com/posts/2021-05-15-rbac-with-ory-keto/
Does that answer your question? I feel you were looking for some different advice 😅
03/09/2022, 8:56 PM
its not far off. definitely looking at Keto as well for the RBAC stuff. was just curious how deep folks go w/ identity types before going into their own database/data models