Hi All, Auth0 has a connection param, that can be ...
# general
a
Hi All, Auth0 has a connection param, that can be used to skip directly to the requested SSO provider. Does Ory have anything similar?
s
Yes, you can pass the organization ID when creating the login/registration flow: https://www.ory.sh/docs/kratos/organizations https://www.ory.sh/docs/reference/api#tag/frontend/operation/createBrowserLoginFlow (the organization parameter)
a
That can used to navigate directly to google SSO? I might be misunderstanding the docs, but the looks like it is tied to the organisation config
s
you need to set up google sso as a sign-in option for an organization, and then you can use that organization to go directly to the google sso
on the ory ui it probably still asks the user to click on some button, but a custom ui could skip that
a
Thank you, I'll give that a try