Hi :slightly_smiling_face: So I’ve been trying to ...
# talk-hydra
c
Hi 🙂 So I’ve been trying to get around custom-ui for a week now. I was able to configure the
hydra-login-concent-node
to work. but what I need is not a user/pass, it’s a social/sso login into a different providers (okta/etc), I’m really lost regarding the components I need to build, and if I can do this on my server, or I must have a redirect page ?
m
Hello @cool-wall-71830 can you tell me a bit about the use case? Do you want to login users using SSO/Social Login? If that is the use case I would recommend to take at Ory Kratos/Identities. Is there a use case for OAuth2 I am missing?
c
what do u mean by “Ory Kratos/Identities”? My use case is rather simple: Im working on a SaaS app, we have clients that want to login with SSO. Originally I wanted to go for this flow: 1. User enter email 2. Check if email domain has an SSO integration 3. if it don’t, continue with email login (not managed by Ory) 4. if it does, start OAuth2 SSO flow (get the integration details from email domain). 5. if login succeeds, redirect to app If can start with a FAR more basic one. 1. User go to Login page with only SSOs (list) 2. User clicks login with one of the providers 3. if login succeeds, redirect to app I really tried EVERYTHING mostly around
hydra-login-concent-node
@magnificent-energy-493 feels like I need to start from scratch. just want a simple SSO flow with my own UI
m
Gotcha @cool-wall-71830 for the basic flow please check out this: https://www.ory.sh/docs/kratos/social-signin/overview You can implement this in Ory Network (the manged Ory solution) or self-host Ory Kratos. Ory Kratos is the name of the open source project, and Ory Identities is the equivalent in the manged solution (it is the same software and API so its just for marketing reasons a different name)
We also have a solution for the advanced flow: https://www.ory.sh/docs/kratos/organizations/ This feature is not available in open source (as it would be very hard to offer there) but is part of the Scale plan in Ory Network.
c
Yeah, I’ve read the docs, I’m trying to use it with Ory Network (managed Kratos+Hydra), no luck
m
I see. Would love to help you out. Can you DM me your configuration and project slug please?