This message was deleted.
# general
m
This message was deleted.
h
Honestly, I am with you. I'm running into a few problems regarding the login/logout flow and redirection. We are currently self-service (Oathkeeper + Keto only), but not for AuthN. Using Ory Network would be more manageable since our team has shrunk, but finding working examples for React SPA is not working out.
b
I agree. I'm at the point where I am trying to decide whether to move forward with Ory for Auth or pivot to .NET Identity for my project. I would really like to use Ory but I just can't seem to find any documents to help me get auth working in my front end. It was simple to setup my api to validate the cookie, just no luck on getting React to work.
b
b
Hey @bland-eye-99092, it looks like the one linked in the documentation uses the selfhosted version of Kratos? Can this exact setup be used with the hosted version and using the Ory Client?
Never mind, the repository I was looking at linked to the docs was this one: https://github.com/ory/kratos-nextjs-react-example I will take a look at the one you linked to thank you!
I think Ory would benefit from making a pure react version of this example as this one relies a lot on the next js router and getting the flow out of the url. From what I understand in a traditional react spa we would be using the api endpoints that return the flow etc in json and not the url?