Hi Folks :wave: I'm trying to run a PoC for my com...
# ory-network
g
Hi Folks 👋 I'm trying to run a PoC for my company new product using ory network, but I'm a bit confused after following the documentation. The application is a typical React app (SPA) with Ruby backend (API). What's the recommended approach usually for the above architecture when integrating with Ory? is it 1. React app -> Ruby backend -> Ory (Backend act as a proxy to communicate with ory and will handle registration, login, etc) 2. React app -> Ory (Frontend communicate with ory directly to register, login, etc - but in this flow I'm confused on whether Ory should make callback to the react app or to the backend after successful registration? because backend also needs to store the new user record in database too)
h
(2) and use web hooks (Ory Actions) to create a user record in the database :)
g
got it, let me learn more about ory webhook.. thanks @high-optician-2097
👍 1