Is there an exemplary example of setting up and ru...
# talk-kratos
s
Is there an exemplary example of setting up and running a local kratos that secures a react client side spa only? Every example I am seeing is using the ory network and handling auth using the network. I am attempting to build a side project and love the idea of an auth provider running locally (to keep all data in the same db) but I for sure can't afford $70/mo to get it to production
I guess the biggest issue I am having is the flow setup sending UI fields and being able to render them using typescript where it seems like the type definitions are missing. I am wondering if it's worthwhile to create a server side rendered app that handles kratos integration like auth.example.com system that then redirects out to the regular app. I would prefer not to have that complexity early on but not sure where to go
m
Hello @sticky-smartphone-16081 Did you see the self-hosting section? Kratos Quickstart: https://www.ory.sh/docs/kratos/quickstart Kratos without Docker tutorial: https://www.ory.sh/docs/kratos/guides/deploy-kratos-example btw all tutorials for Ory Network should also work when self-hosting Ory
s
I have looked at them. I was just curious if there were exemplary examples of how to use the create browser login flow return data to render out the form using react. It's really confusing to try using typescript to build the uis
Do the Ory elements work with self hosted?