Guys, I have a little question, I love Ory, but I'...
# talk-hydra
c
Guys, I have a little question, I love Ory, but I'm not sure if this question is related to Ory or OAuth in general. If I have 2 apps (web and mobile) and I want to "unifique" the sign-in process, I should use Hydra? My question is motivated because I'm not sure if is correct show the consent screen to my users because my users are singing to my own app, so... I should receive all data from my users in my own app, right?
i
This doesn't sound like you want Hydra. This sound like you want to use Ory Kratos but theme the UIs
c
Uhmmm... but, with Ory Kratos I can use the same signin for mobile and web projects?
i
Yes
c
uhmmm any guide for this?
Because, I want to use, for example, next-auth for the web and AuthSession for my Expo app
so, I have to have an OpenID provider to use the standard flows, right?
I should integrate the Sign In [My App] created with Hydra into Kratos and use directly from this? 🤔
i
I don't think you need Hydra at all. You're logging in to your own identity provider. OIDC/OAuth2 is used when you want to allow other applications to access your user's data
c
Currently we're using the old "username and password" flow calling the login API (into our monolitic backend) and then calling again to renew the access_token, but, I Have to create UI for web and Mobile apps
I just want to "unify" the sign in process in my Auth Server
In this context, I should use Ory Kratos, right?
i
So Kratos will be your auth server. AFAIK you should just use the login self-service flow on the web (using next) and then implement the API flow for your mobile app.
c
Oh, thanks!
I was a bit confused on how to use the products.
Thanks man!