hey everyone. anyone have articles, blogs, etc on ...
# ory-selfhosting
l
hey everyone. anyone have articles, blogs, etc on how to get/use Kratos work with Keto?
b
@loud-helmet-81363, I have a draft series that should be published next week. It contains many code examples. However, I can already tell you that Keto does not depend on Kratos. As long as your users (humans or machines) are authenticated, you can use the request context (that contains info about the current user) to check the permissions. If you speak Typescript/Javascript, you can check this repository which uses these libraries to abstract the interactions with Kratos and Keto APIs I would be glad to guide you through.
l
awesome, i am aware that
awesome, i am aware that they are independant šŸ™‚ but my project require the features keto offers since I have multiple roles in my project. the docs just doesn't say much on what do do when you need RBAC etc. I'm basically making a public website where ppl can register, then ofc i would need admin roles and such to be able to do different things. My frontend will ofc be a TS/JS, but i'm currently focusing on my backend(s).
and i'm fully aware that ory network (cloud) gives me more. i just can't have in mind that at some point it could bill me šŸ™ˆ And I work as devops in an on-prem world, so everything is just "easier" when i can install it myself šŸ™ˆ
b
I’m basically making a public website where ppl can register, then ofc i would need admin roles and such to be able to do different things.
My frontend will ofc be a TS/JS, but i’m currently focusing on my backend(s).
The linked repository focuses only on the backend and the (local) DevOps parts, so they could be helpful on that regard. If you ever change your mind and go for Ory Network, there is a great effort made by Ory to allow you to reuse your Kratos, Keto (and eventually Hydra) configuration templates to replicate your self-managed environment to Ory Network in a snap.
l
that could be an option with migrating from on-prem to cloud.