high-optician-2097
brainy-iron-15919
04/24/2024, 5:29 PMbrainy-iron-15919
04/24/2024, 5:33 PMcreamy-spring-7553
07/01/2024, 3:35 PMgetServerSideProps
was an option as it could read and write headers but you can't do that inside react server components instead you need to use a server action. Ideally we can create a way to replace the flow form logic using a custom hook and a server action which the form uses instead.
2. Can the flows be cached on client side? tools like react query, rtk query can help with this which many apps use. However this results in a crsf
error as the cookie get overriden by the last request.
3. Allow changing the base url in the integration /api/.ory
should not be the hard coded value inside the create api handler.
I am willing to work on this as I have spent alot of time experimenting and trying different solutions. I believe we can improve the sdk a lot by applying some patterns from libraries like next-auth/client
which will help with the adoption.few-napkin-57613
07/10/2024, 5:28 AMcreamy-spring-7553
07/11/2024, 10:26 AMfew-napkin-57613
07/11/2024, 11:27 AMcreamy-spring-7553
07/12/2024, 4:55 PMcreamy-spring-7553
07/12/2024, 4:55 PMdelightful-noon-48365
09/13/2024, 2:14 PM