Hi all, I’m investigating migrating from auth0 to...
# ory-network
f
Hi all, I’m investigating migrating from auth0 to ory network. This is for multiple single tenanted web apps (we have a few dozen) that all have urls matching x.companyname.com and x.company.name.com. Also we need to support google social login. We would want to use one project in ory network.. So I’m wondering can a different callback URL be configured for each web app using the one project? In the self service doco I see there are two browser login flows: server-side apps which redirects to the UI hosted by ory, and client-side apps which render the login UI without redirection. https://www.ory.sh/docs/kratos/self-service So I’m assume we will need to follow the client-side flow as we have a SPA (meteor+blaze). Looking at the login examples for react/next.js, it looks like they are using the server-side flow which redirects to
<http://yourory/ui/login>
https://www.ory.sh/docs/getting-started/integrate-auth/react Is there a code example for the client-side browser flow using the @ory/client node package? Please correct me if I have made any incorrect assumptions - I’m still trying to wrap my head around it all 🙂 Thanks!
f
You can use the _return_to_ parameter to control where apps send the user to after login. See https://www.ory.sh/docs/concepts/redirects#allow-list - would that work?