Hey everyone. I just start digging Kratos and unde...
# ory-selfhosting
r
Hey everyone. I just start digging Kratos and understand how the tool works, how can I apply to my app and compare with Zitadel. I have a couple questions if anyone can just give me a direction. 1. how should I read the documentation for open source components only? there are many sections, but I feel like some of them for ory network only. 2. how should I read the doc in general? to spin up the local environment and properly configure it I found an article in a community guide to start docker-compose and put the config, but can't see how to manage kratos.yaml and identity.schema.json config. my goal to understand how to build a custom ui for a social login flow, nothing fancy, just issue a token, introspect it in my backend, api pure integration, no redirects to ory host. appreciate any info/guides/links
m
Generally self-hosting and Ory Network are equivalent unless it is mentioned. the concepts section is good to understand how Ory Kratos works: https://www.ory.sh/docs/identities/
can't see how to manage kratos.yaml and identity.schema.json conf
if you self-host you edit the files directly and kratos will hot-reload • check out the community examples as well https://github.com/ory/examples/ • ory kratos does not use OAuth2 flows, it uses cookies and you make an API call to /whoami to check the session - so no introspection. You can also use JWT instead if you prefer that. Both methods come with their own tradeoffs. https://www.ory.sh/docs/security-model