trying to refamiliarize myself with ory after so l...
# talk-kratos
c
trying to refamiliarize myself with ory after so long.. if I have 1 app that is the public/'login app' , and I have other first party app that will use that login information.. Is this something I can handle with Kratos, or do I need to involve hydra
n
as long as you have them under a shared domain (even if under different subdomains, e.g. login.example.com and app.example.com), kratos should be enough, and is likely the preferred approach for first party services. bringing in oauth or oidc is probably not what you want - there is a good blog post here - https://www.ory.sh/oauth2-openid-connect-do-you-need-use-cases-examples/
c
I guess you just hit the kratos api to get identity information, assuming shared domain?
and what's the solution if there are different domains?
n
if users are logging in through a browser, i don't think there is a solution across different domains, since kratos will set cookies for browser flows and cookies must be on the same domain
c
would have to make something hacky, or use hydra
might need to use hydra anyhow for third party integrations.. so i wonder in that case is kratos even needed
n
hydra does not provide identification or login, only oauth built on top of an existing identity provider
so users would log in through kratos, then hydra generates the oauth token(s)
c
ah ok. cool, i'll start playing around