Multi-tenancy with Oathkeeper #733
-
I'm using Oathkeeper with Kratos (following this guide: https://www.ory.sh/kratos/docs/guides/zero-trust-iap-proxy-identity-access-proxy/) to create a multi-tenant application. To support multi-tenancy, it seems like I would need to create a Kratos instance for each tenant and then have Oathkeeper route requests to the respective Kratos instance based on the URL path, which would require specifying multiple authentication servers in the Oathkeeper configuration. Is it possible to do this with Oathkeeper and, if so, can someone give an example of how to do it? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @markrepedersen, I believe you can override the global oathkeeper configurations file inside your access rule as specified here. This is your global
This is your overridden
|
Beta Was this translation helpful? Give feedback.
Hi @markrepedersen,
I believe you can override the global oathkeeper configurations file inside your access rule as specified here.
This is your global
cookie_session
config:This is your overridden
cookie_session
config