Multi-tenant Applications
Build multi-tenant applications with Graphlit.
Last updated
Was this helpful?
Build multi-tenant applications with Graphlit.
Last updated
Was this helpful?
Graphlit supports multi-tenant applications out of the box.
When creating your JWT, you can add the additional claim x-graphlit-owner-id
, which is a reference to a user or organization in your application.
You can define how you want to map this ID for your specific use case. If your application supports individual users, this would be a unique user ID, or if your application groups users into organizations or tenants, this would be a unique organization (or tenant) ID.
This allows you to partition the content in your project by your application's users. We don't store any other information about your users, and use this owner ID as a way to partition data in the Graphlit project.